<DatePicker> is a component for entering dates into the state declared by the defineState() function.

import { defineState } from '@morph-data/components';

export const { date } = defineState({ date: undefined });

<DatePicker state={date} />

Properties

state
State
required

The State object that binds the input value of the component. Specify the state declared by the defineState() function.