npm install @cypress-design/react-statusicon
or with yarn
yarn add @cypress-design/react-statusicon
import StatusIcon from '@cypress-design/react-statusicon'
The simple way of using the StatusIcon component
import StatusIcon from '@cypress-design/react-statusicon'
export default () => {
return <StatusIcon size="16" status="failed" variant="solid" />
}
The tree-shakable way (more optimized)
import { SolidStatusIcon } from '@cypress-design/react-statusicon'
export default () => <SolidStatusIcon size="16" status="failed" />