Skip to content

TimeRangePicker ​

Une heure de début et une heure de fin.

order impose que la fin suive le début. On peut le lever — une garde de nuit finit le lendemain — mais il faut l'avoir écrit.

Installation ​

bash
sia-ui add time-range-picker

Ou par le paquet, sans rien copier :

tsx
import { TimeRangePicker } from "@sia-ui/react-web";

Props ​

PropTypeDéfautDescription
allowClearTimePickerPropstrue
classNamestring—
defaultValueTimeRangeValue{ start: "", end: "" }
disabledboolean—
endLabelstring—
hourFormatTimePickerProps24
invalidboolean—
minuteStepTimePickerProps1
needConfirmTimePickerPropsfalse
onValueChange(value: TimeRangeValue) => void—
orderbooleantrue
secondStepTimePickerProps1
showSecondsTimePickerPropsfalse
startLabelstring—
toneComponentToneprimary
valueTimeRangeValue—

Voir aussi ​

Publié sous licence MIT.