Skip to main content

Interface: DatePickerCharacteristic

@atomic-testing/component-driver-mui-v5.DatePickerCharacteristic

Properties

defaultFormat

defaultFormat: string

Format hint displayed in the input field

Defined in

packages/component-driver-mui-v5/src/components/datepicker/types.ts:7


textEntryToValue

textEntryToValue: (text: string, format: string) => null | Date

Type declaration

▸ (text, format): null | Date

Parameters
NameType
textstring
formatstring
Returns

null | Date

Defined in

packages/component-driver-mui-v5/src/components/datepicker/types.ts:3


valueToTextEntry

valueToTextEntry: (value: Date, format: string) => string

Type declaration

▸ (value, format): string

Parameters
NameType
valueDate
formatstring
Returns

string

Defined in

packages/component-driver-mui-v5/src/components/datepicker/types.ts:2