UNPKG

untitledui-js-base

Version:

A simple library with a fully customizable collection of untitledui icons with out of the box support for framer motion

23 lines (21 loc) 728 B
import { FC, SVGProps } from 'react'; import { IconNames } from '.'; interface SVGParentProps extends SVGProps<SVGSVGElement> { size?: string; } interface PathProps extends SVGProps<SVGPathElement> { } export interface SVGComponentProps extends SVGProps<SVGSVGElement> { size?: string; pathProps?: SVGProps<SVGPathElement>; } export interface SVGComponent extends FC<SVGComponentProps> { } export interface LazyIconProps extends SVGComponentProps { name: IconNames; fallback?: React.ReactNode; } declare const SVG: FC<SVGParentProps>; declare const Path: FC<PathProps>; declare const DefaultLazyImportFallback: () => import("react/jsx-runtime").JSX.Element; export { SVG, Path, DefaultLazyImportFallback };