UNPKG

wizardry-icon

Version:
55 lines (47 loc) 2.44 kB
import * as react from 'react'; import { RefAttributes, SVGProps, ReactSVGElement, ForwardRefExoticComponent } from 'react'; /** * @component @name FilterLine * @description Renders FilterLine svg element * @param {Object} props - props and any valid SVG attribute * @returns {JSX.Element} JSX Element */ declare const FilterLine: react.FC<Omit<WizardryProps, "ref"> & react.RefAttributes<SVGSVGElement>>; /** * @component @name SearchOneLine * @description Renders SearchOneLine svg element * @param {Object} props - props and any valid SVG attribute * @returns {JSX.Element} JSX Element */ declare const SearchOneLine: react.FC<Omit<WizardryProps, "ref"> & react.RefAttributes<SVGSVGElement>>; /** * @component @name SearchThreeLine * @description Renders SearchThreeLine svg element * @param {Object} props - props and any valid SVG attribute * @returns {JSX.Element} JSX Element */ declare const SearchThreeLine: react.FC<Omit<WizardryProps, "ref"> & react.RefAttributes<SVGSVGElement>>; /** * @component @name SearchTwoLine * @description Renders SearchTwoLine svg element * @param {Object} props - props and any valid SVG attribute * @returns {JSX.Element} JSX Element */ declare const SearchTwoLine: react.FC<Omit<WizardryProps, "ref"> & react.RefAttributes<SVGSVGElement>>; declare const index_FilterLine: typeof FilterLine; declare const index_SearchOneLine: typeof SearchOneLine; declare const index_SearchThreeLine: typeof SearchThreeLine; declare const index_SearchTwoLine: typeof SearchTwoLine; declare namespace index { export { index_FilterLine as FilterLine, index_SearchOneLine as SearchOneLine, index_SearchThreeLine as SearchThreeLine, index_SearchTwoLine as SearchTwoLine }; } type IconSvgElement = [elementName: ReactSVGElement['type'], attrs: Record<string, string>][]; type IconSvgObject = IconSvgElement; type SVGAttributes = Partial<SVGProps<SVGSVGElement>>; type ComponentAttributes = RefAttributes<SVGSVGElement> & SVGAttributes; interface WizardryProps extends ComponentAttributes { size?: string | number; } type WizardryIcon = ForwardRefExoticComponent<WizardryProps>; declare const createComponent: (iconName: string, svgObject: IconSvgObject) => React.FC<React.PropsWithoutRef<WizardryProps> & React.RefAttributes<SVGSVGElement>>; export { FilterLine, type IconSvgObject, SearchOneLine, SearchThreeLine, SearchTwoLine, type WizardryIcon, type WizardryProps, createComponent, index as icons };