time zone picker for rsuite
English | 中文版
yarn add @rsuite/timezone-picker
// or use npm
npm i @rsuite/timezone-picker
import TimezonePicker from '@rsuite/timezone-picker';
import '@rsuite/timezone-picker/lib/styles/index.less';
export default () => {
return <TimeZonePicker />;
};
Property | Type(Default) |
Description |
---|---|---|
disableGroup | boolean(false) |
Disable grouping |
icon | union: SVGSymbol,string,ReactElement | Customize the icon in front of the value or placeholder |
In addition, TimeZonePicker also inherits most of the @rsuite/SelectPickerProps
Note: TimezonePicker does not support all properties of
SelectPicker
, the following properties are not supported.
data
valueKey
labelKey
groupBy
- react >= 16.8
- rsuite >= 5.0