Checkbox.getInputColor
Components
getInputColor()
getInputColor(
isDisabled
,error
):"grey4"
|"orange-400"
|"secondaryLight dark:secondaryDark"
Parameters
Parameter | Type |
---|---|
isDisabled | boolean |
error | boolean |
Returns
"grey4"
| "orange-400"
| "secondaryLight dark:secondaryDark"
Source
libs/design-system-core/src/components/Checkbox/getInputColor.ts:1