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) • 416 B
TypeScript
import type { DatePickerRootBaseProps } from '@ark-ui/svelte/date-picker';
import type { DateValue } from '@ark-ui/svelte/date-picker';
export interface DateFieldProps extends Omit<DatePickerRootBaseProps, 'value' | 'defaultValue'> {
value?: DateValue | null;
defaultValue?: DateValue;
label?: string;
name?: string;
granularity?: 'day' | 'hour' | 'minute' | 'second';
hourCycle?: 12 | 24;
}