UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

45 lines (29 loc) 617 B
--- id: Date picker section: components cssPrefix: pf-c-date-picker propComponents: ['DatePicker', 'CalendarFormat', 'DatePickerRef'] beta: true --- ## Examples ### Basic ```ts file="./DatePickerBasic.tsx" ``` ### American format ```ts file="./DatePickerAmerican.tsx" ``` ### Helper text ```ts file="./DatePickerHelperText.tsx" ``` ### Min and max date ```ts file="./DatePickerMinMax.tsx" ``` ### French ```ts file="./DatePickerFrench.tsx" ``` ### Controlled ```ts file="./DatePickerControlled.tsx" ``` ### Controlling the date picker calendar state ```ts file="./DatePickerControlledCalendar.tsx" ```