UNPKG

@nextcloud/vue

Version:
37 lines (36 loc) 1.32 kB
type __VLS_Props = { /** * Make the icon directional, meaning it is langauge direction aware. * If the icon is placed in a right-to-left context it will be mirrored vertically. */ directional?: boolean; /** * Set if the icon should be used as inline content e.g. within text. * By default the icon is made a block element for use inside `icon`-slots. */ inline?: boolean; /** * Raw SVG string to render */ svg?: string; /** * Label of the icon, used in aria-label */ name?: string; /** * Raw SVG path to render. Takes precedence over the SVG string in the `svg` prop. */ path?: string; /** * Size of the icon to show. Only use if not using within an icon slot. * Defaults to 20px which is the Nextcloud icon size for all icon slots. */ size?: number | 'auto'; }; declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { size: number | "auto"; name: string; svg: string; path: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>; export default _default;