@askrjs/logos
Exports from the declarations published in @askrjs/logos. Signatures reflect the published artifact.
Exports
This entrypoint publishes 11 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
AppleLogotype
AppleLogo: { (props: LogoProps): import("@askrjs/askr/jsx-runtime").JSXElement; displayName: string; }Apple logo icon component.
createLogotype
createLogo: (displayName: string, logoNode: LogoNode) => { (props: LogoProps): JSXElement; displayName: string; }Builds a brand logo icon component from a set of SVG shape descriptors. Validates the given `logoNode` against an allow-list of safe SVG tags and attributes (rejecting any `url(...)` references in `fill`/`stroke`), then returns a component that renders those shapes wrapped in `IconBase`, matching the sizing/color conventions of other Askr icons.
FacebookLogotype
FacebookLogo: { (props: LogoProps): import("@askrjs/askr/jsx-runtime").JSXElement; displayName: string; }Facebook logo icon component.
GitHubLogotype
GitHubLogo: { (props: LogoProps): import("@askrjs/askr/jsx-runtime").JSXElement; displayName: string; }GitHub logo icon component.
GoogleLogotype
GoogleLogo: { (props: LogoProps): import("@askrjs/askr/jsx-runtime").JSXElement; displayName: string; }Google logo icon component.
LogoAttributetype
LogoAttribute: "clipRule" | "cx" | "cy" | "d" | "fill" | "fillRule" | "height" | "opacity" | "points" | "r" | "rx" | "ry" | "stroke" | "strokeWidth" | "transform" | "width" | "x" | "x1" | "x2" | "y" | "y1" | "y2"SVG attribute names permitted on the elements of a {@link LogoNode}.
LogoAttributestype
LogoAttributes: Readonly<Partial<Record<LogoAttribute, string>>>Map of allowed SVG attribute values, keyed by {@link LogoAttribute}.
LogoNodetype
LogoNode: ReadonlyArray<readonly [tag: LogoTag, attrs: LogoAttributes]>Ordered list of `[tag, attributes]` pairs describing a logo's SVG shapes.
LogoPropstype
LogoProps: IconPropsProps accepted by logo components; identical to {@link IconProps}.
LogoTagtype
LogoTag: "circle" | "ellipse" | "line" | "path" | "polygon" | "polyline" | "rect"SVG element tags permitted inside a {@link LogoNode}.
MicrosoftLogotype
MicrosoftLogo: { (props: LogoProps): import("@askrjs/askr/jsx-runtime").JSXElement; displayName: string; }Microsoft logo icon component.