Components
Repeat Picker
How often something recurs, like a bill, said in words, with the next dates it falls on.
Import
import { RepeatPicker } from '@rinzai/zen';API reference
<RepeatPicker>
How often something recurs, e.g. a bill: every n days, weeks, months or years, on chosen weekdays or a day of the month. Says what it means in words, and with a start date, the next few dates it falls on.
| Prop | Type | Default |
|---|---|---|
localeRequiredFor weekday and date names, and the week's first day. | string | — |
onChangeRequired | (value: Repeat) => void | — |
valueRequired | Repeat | — |
className | string | — |
labelThe group's name for screen readers (default "Repeats"). | string | Repeats |
startWhen it starts: its weekday and day of the month are the defaults, and the next dates are shown. | string | — |
weekStartsOn0 for Sunday … 6. Defaults to the locale's. | number | weekStart(locale) |