UNPKG

cdbreact

Version:

Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps

78 lines (77 loc) 2.18 kB
import React from "react"; import PropTypes from "prop-types"; interface Props { icon: string; border?: boolean; brand?: boolean; className?: string; fab?: boolean; fal?: boolean; far?: boolean; fixed?: boolean; flip?: string; inverse?: boolean; light?: boolean; list?: boolean; pull?: string; pulse?: boolean; regular?: boolean; rotate?: boolean; size?: string; spin?: boolean; stack?: string; duotone?: any; fas?: any; solid?: any; fad?: any; } declare const Icon: { (props: Props): React.JSX.Element; propTypes: { icon: PropTypes.Validator<string>; border: PropTypes.Requireable<boolean>; brand: PropTypes.Requireable<boolean>; className: PropTypes.Requireable<string>; fab: PropTypes.Requireable<boolean>; fal: PropTypes.Requireable<boolean>; far: PropTypes.Requireable<boolean>; fixed: PropTypes.Requireable<boolean>; flip: PropTypes.Requireable<string>; inverse: PropTypes.Requireable<boolean>; light: PropTypes.Requireable<boolean>; list: PropTypes.Requireable<boolean>; pull: PropTypes.Requireable<string>; pulse: PropTypes.Requireable<boolean>; regular: PropTypes.Requireable<boolean>; rotate: PropTypes.Requireable<string>; size: PropTypes.Requireable<string>; spin: PropTypes.Requireable<boolean>; stack: PropTypes.Requireable<string>; }; defaultProps: { border: boolean; brand: boolean; className: string; fab: boolean; fal: boolean; far: boolean; fixed: boolean; flip: string; inverse: boolean; light: boolean; list: boolean; pull: string; pulse: boolean; regular: boolean; rotate: string; size: string; spin: boolean; stack: string; duotone: boolean; solid: boolean; fad: boolean; fas: boolean; }; }; export default Icon; export { Icon as CDBIcon };