BaseIconProps
Definition
export interface BaseIconProps extends AnimationProps {
/**
* Icon color - any CSS color value
*/
color?: string;
/**
* Additional CSS class name
*/
className?: string;
/**
* Inline styles
*/
style?: CSSProperties;
/**
* Show loading state
*/
isLoading?: boolean;
/**
* Props for skeleton loader shown while icon loads
*/
skeletonLoader?: SkeletonLoaderProps;
/**
* Flip icon horizontally, vertically, or both
*/
flip?: FlipProp;
/**
* Rotate icon by degrees
*/
rotation?: RotateProp;
}Usage
Related Types
Last updated