UNPKG

@spaced-out/ui-design-system

Version:
38 lines 1.23 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; export declare const WEEKDAY_PICKER_SIZE: Readonly<{ small: "small"; medium: "medium"; }>; type ClassNames = Readonly<{ wrapper?: string; button?: string; label?: string; helperText?: string; selectedButton?: string; }>; type WeekdayPickerSize = (typeof WEEKDAY_PICKER_SIZE)[keyof typeof WEEKDAY_PICKER_SIZE]; export interface Weekday { key: string; label: string; secondaryLabel?: string; } export interface WeekdayPickerProps { size?: WeekdayPickerSize; selectedWeekDays?: Array<Weekday>; hiddenWeekDays?: Array<string>; disabledWeekDays?: Array<string>; customDayLabels?: Array<Weekday>; onChange?: (selectedDays: Array<Weekday>, arg2?: React.SyntheticEvent<HTMLElement> | null | undefined) => unknown; readOnly?: boolean; classNames?: ClassNames; showWeekends?: boolean; ariaLabel?: string; label?: React.ReactNode; helperText?: React.ReactNode; disableMultiSelect?: boolean; testId?: string; } export declare const WeekdayPicker: Flow.AbstractComponent<WeekdayPickerProps, HTMLDivElement>; export {}; //# sourceMappingURL=WeekdayPicker.d.ts.map