TextField.Input.getInputClasses
Components
getInputClasses()
getInputClasses(
disabled
,status
,readOnly
?):"peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-grey2 text-grey7 dark:placeholder-grey2 placeholder-grey7"
|"peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-white text-grey5 dark:placeholder-white placeholder-grey5"
|"peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light text-grey7 placeholder-grey7"
|"peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-grey6 text-grey5 dark:placeholder-grey6 placeholder-grey5"
Parameters
Parameter | Type |
---|---|
disabled | boolean |
status | Status |
readOnly ? | boolean |
Returns
"peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-grey2 text-grey7 dark:placeholder-grey2 placeholder-grey7"
| "peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-white text-grey5 dark:placeholder-white placeholder-grey5"
| "peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light text-grey7 placeholder-grey7"
| "peer focus:outline-none w-full bg-transparent py-[0.4375rem] text-[0.875rem] leading-[1.375rem] font-light dark:text-grey6 text-grey5 dark:placeholder-grey6 placeholder-grey5"
Source
libs/design-system-core/src/components/TextField/Input/getInputClasses.ts:3