compote-ui
Version:
An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.
11 lines (10 loc) • 436 B
TypeScript
import type { DatePickerRootBaseProps } from '@ark-ui/svelte/date-picker';
import type { DateValue } from '@ark-ui/svelte/date-picker';
export interface DateRangeFieldProps extends Omit<DatePickerRootBaseProps, 'value' | 'defaultValue' | 'selectionMode'> {
value?: DateValue[];
defaultValue?: DateValue[];
label?: string;
name?: string;
granularity?: 'day' | 'hour' | 'minute' | 'second';
hourCycle?: 12 | 24;
}