UNPKG

@availity/app-icon

Version:
26 lines (23 loc) 816 B
import React from 'react'; type AppIconProps = { /** For src prop. the alt property for your image source is not found or is loading. */ alt?: string; /** Triggers "branded" styles. */ branded?: boolean; /** */ children?: React.ReactNode; /** */ className?: string; /** Potential values: "black", "blue", "green", "orange", "red". */ color?: string; /** Potential values: "lg", "xl". */ size?: string; /** If image source is provided, it will render this instead of children. */ src?: string; /** */ tag?: React.ElementType; /** */ title?: string; }; declare function AppIcon({ tag: Tag, color, size, src: image, alt, branded, className, children, ...props }: AppIconProps): JSX.Element; export { type AppIconProps, AppIcon as default };