Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.14 KB

BaseProps.md

File metadata and controls

45 lines (26 loc) · 1.14 KB

@svg-use/react


@svg-use/react / BaseProps

Interface: BaseProps

Defined in: packages/react/src/ThemedExternalSvg.tsx:73

Properties

iconId

iconId: string

Defined in: packages/react/src/ThemedExternalSvg.tsx:81

The id of the referent icon, in the destination SVG.


iconUrl

iconUrl: string

Defined in: packages/react/src/ThemedExternalSvg.tsx:79

The URL of the SVG, to be included in svg > use[href]. Note that this URL must be on the same origin as the site, otherwise no SVG will be displayed. There is no mechanism for cross-origin svg[use].


viewBox

viewBox: string

Defined in: packages/react/src/ThemedExternalSvg.tsx:83

The viewBox of the referent SVG; used to ensure the same scaling.