Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.morph-data.io/llms.txt

Use this file to discover all available pages before exploring further.

<DateRangePicker> is a component for entering a date range into the state declared by the defineState() function.
import { defineState } from '@morph-data/components';

export const { dateStart, dateEnd } = defineState({ dateStart: undefined, dateEnd: undefined });

<DateRangePicker state={[dateStart, dateEnd]} />

Properties

state
[State, State]
required
State object to bind the input values of the component. Specify the state declared by the defineState() function. Specify the start date and end date in an array of length 2.