UNPKG

watercolor-ui

Version:

A modern minimalist cross-framework component library

28 lines 1.2 kB
import { default as PropTypes } from 'prop-types'; export default Icon; declare function Icon({ library, name, html, size, color, strokeWidth, variant, className, children, ...props }: { [x: string]: any; library?: string | undefined; name?: string | undefined; html?: string | undefined; size?: number | undefined; color?: string | undefined; strokeWidth?: number | undefined; variant?: string | undefined; className?: string | undefined; children: any; }): import("react/jsx-runtime").JSX.Element; declare namespace Icon { namespace propTypes { let library: PropTypes.Requireable<string>; let name: PropTypes.Requireable<string>; let html: PropTypes.Requireable<string>; let size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; let color: PropTypes.Requireable<string>; let strokeWidth: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; let variant: PropTypes.Requireable<string>; let className: PropTypes.Requireable<string>; let children: PropTypes.Requireable<PropTypes.ReactNodeLike>; } } //# sourceMappingURL=Icon.d.ts.map