@nutui/nutui-react 1.2.3-beta.4 → 1.3.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/esm/Audio/style/index.js +4 -0
- package/dist/esm/Audio.js +293 -0
- package/dist/esm/Avatar.js +7 -5
- package/dist/esm/Calendar/style/index.js +1 -2
- package/dist/esm/Calendar.js +80 -33
- package/dist/esm/CalendarItem.js +440 -238
- package/dist/esm/Cascader/style/index.js +2 -0
- package/dist/esm/Cascader.js +788 -0
- package/dist/esm/CheckboxGroup.js +0 -1
- package/dist/esm/ConfigProvider.js +16 -0
- package/dist/esm/DatePicker.js +37 -6
- package/dist/esm/Dialog.js +9 -16
- package/dist/esm/Drag.js +1 -1
- package/dist/esm/Elevator.js +16 -5
- package/dist/esm/Grid/style/index.js +2 -0
- package/dist/esm/Grid.js +91 -0
- package/dist/esm/GridItem/style/index.js +2 -0
- package/dist/esm/GridItem.js +99 -0
- package/dist/esm/Icon/style/index.js +1 -0
- package/dist/esm/Icon.js +2 -2
- package/dist/esm/ImagePreview/style/index.js +2 -0
- package/dist/esm/ImagePreview.js +257 -0
- package/dist/esm/Input.js +8 -2
- package/dist/esm/InputNumber.js +11 -11
- package/dist/esm/Menu/style/index.js +3 -0
- package/dist/esm/Menu.js +153 -0
- package/dist/esm/MenuItem/style/index.js +3 -0
- package/dist/esm/MenuItem.js +197 -0
- package/dist/esm/NoticeBar.js +70 -30
- package/dist/esm/Notify.js +19 -4
- package/dist/esm/Picker.js +9 -4
- package/dist/esm/Popover.js +57 -80
- package/dist/esm/Price.js +14 -3
- package/dist/esm/Progress.js +1 -1
- package/dist/esm/Range.js +11 -48
- package/dist/esm/Swipe/style/index.js +2 -0
- package/dist/esm/Swipe.js +265 -0
- package/dist/esm/Swiper.js +2 -1
- package/dist/esm/TabPane.js +5 -33
- package/dist/esm/TabbarItem.js +1 -1
- package/dist/esm/Tabs.js +6 -196
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea.js +48 -4
- package/dist/esm/Toast.js +24 -13
- package/dist/esm/Uploader.js +16 -6
- package/dist/esm/{icon-62bd7379.js → icon-8dc4de10.js} +9 -9
- package/dist/esm/nutui-react.es.js +8 -0
- package/dist/esm/render-4a3856cb.js +32 -0
- package/dist/esm/tabpane-c957ab14.js +33 -0
- package/dist/esm/tabs-a48583e9.js +196 -0
- package/dist/esm/useClientRect-839d18c5.js +44 -0
- package/dist/locales/base.d.ts +16 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +17 -1
- package/dist/locales/id-ID.js +17 -1
- package/dist/locales/zh-CN.js +17 -1
- package/dist/locales/zh-TW.js +17 -1
- package/dist/nutui.react.es.js +2639 -768
- package/dist/nutui.react.umd.js +2646 -767
- package/dist/packages/audio/audio.scss +80 -0
- package/dist/packages/calendar/calendar.scss +57 -36
- package/dist/packages/calendaritem/calendaritem.scss +0 -191
- package/dist/packages/cascader/cascader.scss +69 -0
- package/dist/packages/col/col.scss +2 -2
- package/dist/packages/collapseitem/collapseitem.scss +1 -2
- package/dist/packages/grid/grid.scss +10 -0
- package/dist/packages/griditem/griditem.scss +103 -0
- package/dist/packages/icon/icon.scss +104 -12
- package/dist/packages/imagepreview/imagepreview.scss +51 -0
- package/dist/packages/menu/menu.scss +72 -0
- package/dist/packages/menuitem/menuitem.scss +90 -0
- package/dist/packages/noticebar/noticebar.scss +31 -15
- package/dist/packages/notify/notify.scss +9 -0
- package/dist/packages/popover/popover.scss +205 -83
- package/dist/packages/popup/popup.scss +1 -1
- package/dist/packages/rate/rate.scss +14 -13
- package/dist/packages/searchbar/searchbar.scss +1 -0
- package/dist/packages/shortpassword/shortpassword.scss +6 -1
- package/dist/packages/swipe/swipe.scss +33 -0
- package/dist/packages/textarea/textarea.scss +16 -1
- package/dist/packages/toast/toast.scss +16 -13
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/animation/icon.scss +245 -0
- package/dist/styles/animation/index.scss +1 -0
- package/dist/styles/font/config.json +169 -0
- package/dist/styles/font/demo_index.html +210 -3
- package/dist/styles/font/iconfont.css +39 -3
- package/dist/styles/font/iconfont.js +42 -40
- package/dist/styles/font/iconfont.json +63 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +8 -0
- package/dist/styles/variables.scss +82 -15
- package/dist/types/actionsheet/actionsheet.taro.d.ts +20 -0
- package/dist/types/actionsheet/index.taro.d.ts +2 -0
- package/dist/types/address/address.taro.d.ts +34 -0
- package/dist/types/address/index.taro.d.ts +2 -0
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +12 -0
- package/dist/types/animatingnumbers/countup.taro.d.ts +11 -0
- package/dist/types/animatingnumbers/index.taro.d.ts +2 -0
- package/dist/types/audio/__test__/audio.spec.d.ts +1 -0
- package/dist/types/audio/audio.d.ts +18 -0
- package/dist/types/audio/audio.taro.d.ts +18 -0
- package/dist/types/audio/demo.d.ts +4 -0
- package/dist/types/audio/index.d.ts +2 -0
- package/dist/types/audio/index.taro.d.ts +2 -0
- package/dist/types/avatar/avatar.taro.d.ts +17 -0
- package/dist/types/avatar/index.taro.d.ts +2 -0
- package/dist/types/avatargroup/index.taro.d.ts +2 -0
- package/dist/types/backtop/__test__/backtop.spec.d.ts +1 -0
- package/dist/types/backtop/backtop.taro.d.ts +15 -0
- package/dist/types/backtop/index.taro.d.ts +2 -0
- package/dist/types/badge/badge.taro.d.ts +14 -0
- package/dist/types/badge/index.taro.d.ts +2 -0
- package/dist/types/barrage/barrage.taro.d.ts +12 -0
- package/dist/types/barrage/index.taro.d.ts +2 -0
- package/dist/types/button/button.taro.d.ts +20 -0
- package/dist/types/button/index.taro.d.ts +2 -0
- package/dist/types/calendar/__tests__/calendar.spec.d.ts +1 -0
- package/dist/types/calendar/calendar.d.ts +22 -2
- package/dist/types/calendar/calendar.taro.d.ts +14 -0
- package/dist/types/calendar/demo.d.ts +1 -0
- package/dist/types/calendar/index.taro.d.ts +2 -0
- package/dist/types/calendaritem/calendaritem.d.ts +21 -3
- package/dist/types/calendaritem/calendaritem.taro.d.ts +17 -0
- package/dist/types/calendaritem/index.taro.d.ts +2 -0
- package/dist/types/card/card.taro.d.ts +17 -0
- package/dist/types/card/index.taro.d.ts +2 -0
- package/dist/types/cascader/__tests__/cascader.spec.d.ts +1 -0
- package/dist/types/cascader/cascader.d.ts +25 -0
- package/dist/types/cascader/cascader.taro.d.ts +25 -0
- package/dist/types/cascader/cascaderItem.d.ts +25 -0
- package/dist/types/cascader/cascaderItem.taro.d.ts +25 -0
- package/dist/types/cascader/demo.d.ts +3 -0
- package/dist/types/cascader/helper.d.ts +4 -0
- package/dist/types/cascader/index.d.ts +2 -0
- package/dist/types/cascader/index.taro.d.ts +2 -0
- package/dist/types/cascader/tree.d.ts +12 -0
- package/dist/types/cascader/types.d.ts +28 -0
- package/dist/types/cell/cell.taro.d.ts +20 -0
- package/dist/types/cell/index.taro.d.ts +2 -0
- package/dist/types/cellgroup/cellgroup.taro.d.ts +10 -0
- package/dist/types/cellgroup/index.taro.d.ts +2 -0
- package/dist/types/checkbox/checkbox.d.ts +2 -2
- package/dist/types/checkbox/checkbox.taro.d.ts +19 -0
- package/dist/types/checkbox/index.taro.d.ts +2 -0
- package/dist/types/checkboxgroup/checkboxgroup.d.ts +2 -2
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +8 -0
- package/dist/types/checkboxgroup/index.taro.d.ts +2 -0
- package/dist/types/circleprogress/circleprogress.taro.d.ts +15 -0
- package/dist/types/circleprogress/index.taro.d.ts +2 -0
- package/dist/types/col/col.taro.d.ts +10 -0
- package/dist/types/col/index.taro.d.ts +2 -0
- package/dist/types/collapse/collapse.taro.d.ts +12 -0
- package/dist/types/collapse/index.taro.d.ts +2 -0
- package/dist/types/collapseitem/index.taro.d.ts +2 -0
- package/dist/types/configprovider/configprovider.taro.d.ts +12 -0
- package/dist/types/configprovider/index.taro.d.ts +2 -0
- package/dist/types/countdown/countdown.taro.d.ts +15 -0
- package/dist/types/countdown/index.taro.d.ts +2 -0
- package/dist/types/datepicker/datepicker.taro.d.ts +27 -0
- package/dist/types/datepicker/index.taro.d.ts +2 -0
- package/dist/types/dialog/__test__/dialog.spec.d.ts +1 -0
- package/dist/types/dialog/config.d.ts +3 -3
- package/dist/types/dialog/dialog.d.ts +2 -1
- package/dist/types/dialog/dialog.taro.d.ts +3 -0
- package/dist/types/dialog/index.taro.d.ts +2 -0
- package/dist/types/divider/divider.taro.d.ts +12 -0
- package/dist/types/divider/index.taro.d.ts +2 -0
- package/dist/types/drag/drag.taro.d.ts +14 -0
- package/dist/types/drag/index.taro.d.ts +2 -0
- package/dist/types/elevator/elevator.taro.d.ts +22 -0
- package/dist/types/elevator/index.taro.d.ts +2 -0
- package/dist/types/empty/empty.taro.d.ts +8 -0
- package/dist/types/empty/index.taro.d.ts +2 -0
- package/dist/types/fixednav/fixednav.d.ts +2 -2
- package/dist/types/fixednav/fixednav.taro.d.ts +22 -0
- package/dist/types/fixednav/index.taro.d.ts +2 -0
- package/dist/types/grid/__test__/grid.spec.d.ts +1 -0
- package/dist/types/grid/demo.d.ts +3 -0
- package/dist/types/grid/grid.d.ts +16 -0
- package/dist/types/grid/grid.taro.d.ts +16 -0
- package/dist/types/grid/index.d.ts +2 -0
- package/dist/types/grid/index.taro.d.ts +2 -0
- package/dist/types/griditem/griditem.d.ts +20 -0
- package/dist/types/griditem/griditem.taro.d.ts +20 -0
- package/dist/types/griditem/index.d.ts +2 -0
- package/dist/types/griditem/index.taro.d.ts +2 -0
- package/dist/types/icon/icon.d.ts +10 -5
- package/dist/types/icon/icon.taro.d.ts +18 -0
- package/dist/types/icon/index.taro.d.ts +2 -0
- package/dist/types/imagepreview/__test__/imagepreview.spec.d.ts +1 -0
- package/dist/types/imagepreview/demo.d.ts +3 -0
- package/dist/types/imagepreview/imagepreview.d.ts +26 -0
- package/dist/types/imagepreview/imagepreview.taro.d.ts +26 -0
- package/dist/types/imagepreview/index.d.ts +2 -0
- package/dist/types/imagepreview/index.taro.d.ts +2 -0
- package/dist/types/indicator/index.taro.d.ts +2 -0
- package/dist/types/indicator/indicator.taro.d.ts +10 -0
- package/dist/types/infiniteloading/index.taro.d.ts +2 -0
- package/dist/types/infiniteloading/infiniteloading.taro.d.ts +20 -0
- package/dist/types/input/__test__/input.spec.d.ts +1 -0
- package/dist/types/input/index.taro.d.ts +2 -0
- package/dist/types/input/input.taro.d.ts +57 -0
- package/dist/types/inputnumber/index.taro.d.ts +2 -0
- package/dist/types/inputnumber/inputnumber.taro.d.ts +22 -0
- package/dist/types/layout/index.taro.d.ts +2 -0
- package/dist/types/layout/layout.taro.d.ts +4 -0
- package/dist/types/menu/__test__/menu.spec.d.ts +1 -0
- package/dist/types/menu/demo.d.ts +4 -0
- package/dist/types/menu/index.d.ts +2 -0
- package/dist/types/menu/index.taro.d.ts +2 -0
- package/dist/types/menu/menu.d.ts +12 -0
- package/dist/types/menu/menu.taro.d.ts +12 -0
- package/dist/types/menuitem/index.d.ts +2 -0
- package/dist/types/menuitem/index.taro.d.ts +2 -0
- package/dist/types/menuitem/menuitem.d.ts +23 -0
- package/dist/types/menuitem/menuitem.taro.d.ts +23 -0
- package/dist/types/navbar/index.taro.d.ts +2 -0
- package/dist/types/navbar/navbar.taro.d.ts +21 -0
- package/dist/types/noticebar/demo.d.ts +1 -0
- package/dist/types/noticebar/index.taro.d.ts +2 -0
- package/dist/types/noticebar/noticebar.d.ts +1 -1
- package/dist/types/noticebar/noticebar.taro.d.ts +23 -0
- package/dist/types/notify/Notification.d.ts +8 -7
- package/dist/types/notify/__test__/notify.spec.d.ts +1 -0
- package/dist/types/notify/index.taro.d.ts +2 -0
- package/dist/types/notify/notify.d.ts +13 -0
- package/dist/types/notify/notify.taro.d.ts +23 -0
- package/dist/types/numberkeyboard/index.taro.d.ts +2 -0
- package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +20 -0
- package/dist/types/nutui.react.d.ts +95 -1
- package/dist/types/overlay/index.taro.d.ts +2 -0
- package/dist/types/overlay/overlay.taro.d.ts +12 -0
- package/dist/types/pagination/index.taro.d.ts +2 -0
- package/dist/types/pagination/pagination.taro.d.ts +19 -0
- package/dist/types/picker/doc.en.d.ts +142 -0
- package/dist/types/picker/index.taro.d.ts +2 -0
- package/dist/types/picker/picker.d.ts +3 -2
- package/dist/types/picker/picker.taro.d.ts +24 -0
- package/dist/types/picker/pickerSlot.d.ts +1 -0
- package/dist/types/popover/__tests__/popover.spec.d.ts +1 -0
- package/dist/types/popover/index.taro.d.ts +2 -0
- package/dist/types/popover/popover.d.ts +14 -7
- package/dist/types/popover/popover.taro.d.ts +21 -0
- package/dist/types/popup/index.taro.d.ts +2 -0
- package/dist/types/popup/popup.d.ts +1 -1
- package/dist/types/popup/popup.taro.d.ts +25 -0
- package/dist/types/price/index.taro.d.ts +2 -0
- package/dist/types/price/price.taro.d.ts +11 -0
- package/dist/types/progress/index.taro.d.ts +2 -0
- package/dist/types/progress/progress.taro.d.ts +26 -0
- package/dist/types/radio/index.taro.d.ts +2 -0
- package/dist/types/radio/radio.taro.d.ts +21 -0
- package/dist/types/radiogroup/index.taro.d.ts +2 -0
- package/dist/types/range/index.taro.d.ts +2 -0
- package/dist/types/range/range.taro.d.ts +25 -0
- package/dist/types/rate/index.taro.d.ts +2 -0
- package/dist/types/rate/rate.taro.d.ts +17 -0
- package/dist/types/row/index.taro.d.ts +2 -0
- package/dist/types/row/row.taro.d.ts +12 -0
- package/dist/types/searchbar/index.taro.d.ts +2 -0
- package/dist/types/searchbar/searchbar.taro.d.ts +60 -0
- package/dist/types/shortpassword/index.taro.d.ts +2 -0
- package/dist/types/shortpassword/shortpassword.taro.d.ts +21 -0
- package/dist/types/sidenavbar/index.taro.d.ts +2 -0
- package/dist/types/sidenavbar/sidenavbar.d.ts +14 -2
- package/dist/types/sidenavbar/sidenavbar.taro.d.ts +15 -0
- package/dist/types/sidenavbaritem/index.taro.d.ts +2 -0
- package/dist/types/sidenavbaritem/sidenavbaritem.d.ts +10 -2
- package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +11 -0
- package/dist/types/signature/index.taro.d.ts +2 -0
- package/dist/types/signature/signature.taro.d.ts +11 -0
- package/dist/types/skeleton/index.taro.d.ts +2 -0
- package/dist/types/skeleton/skeleton.taro.d.ts +19 -0
- package/dist/types/step/index.taro.d.ts +2 -0
- package/dist/types/steps/index.taro.d.ts +2 -0
- package/dist/types/steps/steps.taro.d.ts +10 -0
- package/dist/types/subsidenavbar/index.taro.d.ts +2 -0
- package/dist/types/subsidenavbar/subsidenavbar.d.ts +13 -3
- package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +13 -0
- package/dist/types/swipe/__tests__/swipe.spec.d.ts +1 -0
- package/dist/types/swipe/demo.d.ts +3 -0
- package/dist/types/swipe/index.d.ts +2 -0
- package/dist/types/swipe/index.taro.d.ts +2 -0
- package/dist/types/swipe/swipe.d.ts +41 -0
- package/dist/types/swipe/swipe.taro.d.ts +41 -0
- package/dist/types/swiper/index.taro.d.ts +2 -0
- package/dist/types/swiper/swiper.d.ts +1 -2
- package/dist/types/swiper/swiper.taro.d.ts +27 -0
- package/dist/types/swiperitem/index.taro.d.ts +2 -0
- package/dist/types/swiperitem/swiperitem.d.ts +1 -2
- package/dist/types/switch/index.taro.d.ts +2 -0
- package/dist/types/switch/switch.taro.d.ts +14 -0
- package/dist/types/tabbar/index.taro.d.ts +2 -0
- package/dist/types/tabbar/tabbar.taro.d.ts +14 -0
- package/dist/types/tabbaritem/index.taro.d.ts +2 -0
- package/dist/types/tabbaritem/tabbaritem.taro.d.ts +17 -0
- package/dist/types/table/index.taro.d.ts +2 -0
- package/dist/types/table/table.d.ts +2 -1
- package/dist/types/table/table.taro.d.ts +4 -0
- package/dist/types/table/types.d.ts +1 -1
- package/dist/types/tabpane/index.taro.d.ts +2 -0
- package/dist/types/tabpane/tabpane.taro.d.ts +10 -0
- package/dist/types/tabs/index.taro.d.ts +2 -0
- package/dist/types/tabs/tabs.taro.d.ts +30 -0
- package/dist/types/tag/index.taro.d.ts +2 -0
- package/dist/types/tag/tag.taro.d.ts +16 -0
- package/dist/types/textarea/__test__/textarea.spec.d.ts +1 -0
- package/dist/types/textarea/index.taro.d.ts +2 -0
- package/dist/types/textarea/textarea.taro.d.ts +18 -0
- package/dist/types/timedetail/index.taro.d.ts +2 -0
- package/dist/types/timedetail/timedetail.taro.d.ts +13 -0
- package/dist/types/timepannel/index.taro.d.ts +2 -0
- package/dist/types/timepannel/timepannel.taro.d.ts +8 -0
- package/dist/types/timeselect/index.taro.d.ts +2 -0
- package/dist/types/timeselect/timeselect.taro.d.ts +21 -0
- package/dist/types/toast/Notification.d.ts +6 -4
- package/dist/types/toast/__test__/toast.spec.d.ts +1 -0
- package/dist/types/toast/index.taro.d.ts +2 -0
- package/dist/types/toast/toast.d.ts +21 -0
- package/dist/types/toast/toast.taro.d.ts +29 -0
- package/dist/types/uploader/index.taro.d.ts +2 -0
- package/dist/types/uploader/uploader.d.ts +2 -2
- package/dist/types/uploader/uploader.taro.d.ts +68 -0
- package/dist/types/video/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/type.d.ts +1 -1
- package/dist/types/virtuallist/virtuallist.d.ts +2 -1
- package/dist/types/virtuallist/virtuallist.taro.d.ts +4 -0
- package/package.json +18 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { CascaderOption } from './types';
|
|
3
|
+
export interface CascaderProps {
|
|
4
|
+
className: string;
|
|
5
|
+
style: CSSProperties;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
options: CascaderOption[];
|
|
8
|
+
value: string[];
|
|
9
|
+
title: string;
|
|
10
|
+
textKey: string;
|
|
11
|
+
valueKey: string;
|
|
12
|
+
childrenKey: string;
|
|
13
|
+
convertConfig: Record<string, string | number | null>;
|
|
14
|
+
closeable: boolean;
|
|
15
|
+
closeIconPosition: string;
|
|
16
|
+
closeIcon: string;
|
|
17
|
+
lazy: boolean;
|
|
18
|
+
lazyLoad: (node: any, resolve: any) => void;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onChange: (value: any, params: any) => void;
|
|
21
|
+
onPathChange: (value: any, params: any) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const Cascader: React.ForwardRefExoticComponent<Partial<CascaderProps> & {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { CascaderOption } from './types';
|
|
3
|
+
export interface CascaderProps {
|
|
4
|
+
className: string;
|
|
5
|
+
style: CSSProperties;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
options: CascaderOption[];
|
|
8
|
+
value: string[];
|
|
9
|
+
title: string;
|
|
10
|
+
textKey: string;
|
|
11
|
+
valueKey: string;
|
|
12
|
+
childrenKey: string;
|
|
13
|
+
convertConfig: Record<string, string | number | null>;
|
|
14
|
+
closeable: boolean;
|
|
15
|
+
closeIconPosition: string;
|
|
16
|
+
closeIcon: string;
|
|
17
|
+
lazy: boolean;
|
|
18
|
+
lazyLoad: (node: any, resolve: any) => void;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onChange: (value: any, params: any) => void;
|
|
21
|
+
onPathChange: (value: any, params: any) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const Cascader: React.ForwardRefExoticComponent<Partial<CascaderProps> & {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface OptiosInfo {
|
|
3
|
+
text: string;
|
|
4
|
+
value: string;
|
|
5
|
+
paneKey: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
children?: OptiosInfo[];
|
|
9
|
+
}
|
|
10
|
+
export interface CascaderItemProps {
|
|
11
|
+
data: {
|
|
12
|
+
text: string;
|
|
13
|
+
value: string;
|
|
14
|
+
paneKey: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
children?: OptiosInfo[];
|
|
18
|
+
};
|
|
19
|
+
checked: boolean;
|
|
20
|
+
chooseItem: (data: any) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const CascaderItem: React.ForwardRefExoticComponent<Partial<CascaderItemProps> & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & React.RefAttributes<unknown>>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface OptiosInfo {
|
|
3
|
+
text: string;
|
|
4
|
+
value: string;
|
|
5
|
+
paneKey: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
children?: OptiosInfo[];
|
|
9
|
+
}
|
|
10
|
+
export interface CascaderItemProps {
|
|
11
|
+
data: {
|
|
12
|
+
text: string;
|
|
13
|
+
value: string;
|
|
14
|
+
paneKey: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
children?: OptiosInfo[];
|
|
18
|
+
};
|
|
19
|
+
checked: boolean;
|
|
20
|
+
chooseItem: (data: any) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const CascaderItem: React.ForwardRefExoticComponent<Partial<CascaderItemProps> & {
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & React.RefAttributes<unknown>>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CascaderOption, CascaderConfig, convertConfig } from './types';
|
|
2
|
+
export declare const formatTree: (tree: CascaderOption[], parent: CascaderOption | null, config: CascaderConfig) => CascaderOption[];
|
|
3
|
+
export declare const eachTree: (tree: CascaderOption[], cb: (node: CascaderOption) => unknown) => void;
|
|
4
|
+
export declare const convertListToOptions: (list: CascaderOption[], options: convertConfig) => CascaderOption[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CascaderOption, CascaderConfig, CascaderValue } from './types';
|
|
2
|
+
declare class Tree {
|
|
3
|
+
nodes: CascaderOption[];
|
|
4
|
+
readonly config: CascaderConfig;
|
|
5
|
+
constructor(nodes: CascaderOption[], config?: CascaderConfig);
|
|
6
|
+
updateChildren(nodes: CascaderOption[], parent: CascaderOption | null): void;
|
|
7
|
+
getNodeByValue(value: CascaderOption['value']): CascaderOption | void;
|
|
8
|
+
getPathNodesByValue(value: CascaderValue): CascaderOption[];
|
|
9
|
+
isLeaf: (node: CascaderOption, lazy: boolean) => boolean;
|
|
10
|
+
hasChildren: (node: CascaderOption, lazy: boolean) => boolean;
|
|
11
|
+
}
|
|
12
|
+
export default Tree;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface CascaderPane {
|
|
2
|
+
nodes: [];
|
|
3
|
+
selectedNode: CascaderOption | null;
|
|
4
|
+
paneKey: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CascaderOption {
|
|
7
|
+
text?: string;
|
|
8
|
+
value?: number | string;
|
|
9
|
+
paneKey?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
children?: CascaderOption[];
|
|
12
|
+
leaf?: boolean;
|
|
13
|
+
level?: number;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
root?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface CascaderConfig {
|
|
18
|
+
value?: string;
|
|
19
|
+
text?: string;
|
|
20
|
+
children?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare type CascaderValue = CascaderOption['value'][];
|
|
23
|
+
export interface convertConfig {
|
|
24
|
+
topId?: string | number | null;
|
|
25
|
+
idKey?: string;
|
|
26
|
+
pidKey?: string;
|
|
27
|
+
sortKey?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
export interface CellProps {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
subTitle: ReactNode;
|
|
5
|
+
desc: string;
|
|
6
|
+
descTextAlign: string;
|
|
7
|
+
isLink: boolean;
|
|
8
|
+
icon: string;
|
|
9
|
+
roundRadius: string | number;
|
|
10
|
+
url: string;
|
|
11
|
+
to: string;
|
|
12
|
+
replace: boolean;
|
|
13
|
+
center: boolean;
|
|
14
|
+
size: string;
|
|
15
|
+
className: string;
|
|
16
|
+
iconSlot: ReactNode;
|
|
17
|
+
linkSlot: ReactNode;
|
|
18
|
+
click: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
export interface CellGroupProps {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
desc: ReactNode;
|
|
5
|
+
titleSlot: ReactNode;
|
|
6
|
+
descSlot: ReactNode;
|
|
7
|
+
classPrefix: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const CellGroup: FunctionComponent<Partial<CellGroupProps>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import CheckboxGroup from '../checkboxgroup';
|
|
3
|
-
export interface
|
|
3
|
+
export interface CheckboxProps {
|
|
4
4
|
checked: boolean;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
textPosition: 'left' | 'right';
|
|
@@ -14,6 +14,6 @@ export interface CheckBoxProps {
|
|
|
14
14
|
label: string;
|
|
15
15
|
onChange: (state: boolean, label: string) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare const Checkbox: FunctionComponent<Partial<
|
|
17
|
+
export declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>> & {
|
|
18
18
|
Group: typeof CheckboxGroup;
|
|
19
19
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import CheckboxGroup from '../checkboxgroup';
|
|
3
|
+
export interface CheckboxProps {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
textPosition: 'left' | 'right';
|
|
7
|
+
iconSize: string | number;
|
|
8
|
+
iconName: string;
|
|
9
|
+
iconActiveName: string;
|
|
10
|
+
iconIndeterminateName: string;
|
|
11
|
+
iconClassPrefix: string;
|
|
12
|
+
iconFontClassName: string;
|
|
13
|
+
indeterminate: boolean;
|
|
14
|
+
label: string;
|
|
15
|
+
onChange: (state: boolean, label: string) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>> & {
|
|
18
|
+
Group: typeof CheckboxGroup;
|
|
19
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface CheckboxGroupProps {
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
checkedValue: string[];
|
|
5
5
|
max: number | undefined;
|
|
6
6
|
onChange: (value: string[]) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const CheckboxGroup: React.ForwardRefExoticComponent<Partial<
|
|
8
|
+
export declare const CheckboxGroup: React.ForwardRefExoticComponent<Partial<CheckboxGroupProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CheckboxGroupProps {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
checkedValue: string[];
|
|
5
|
+
max: number | undefined;
|
|
6
|
+
onChange: (value: string[]) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CheckboxGroup: React.ForwardRefExoticComponent<Partial<CheckboxGroupProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface IColor {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CircleProgressProps {
|
|
6
|
+
progress: string | number;
|
|
7
|
+
strokeWidth?: string | number;
|
|
8
|
+
radius?: number | string;
|
|
9
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
10
|
+
circleColor?: object | string;
|
|
11
|
+
pathColor?: string;
|
|
12
|
+
clockwise?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const CircleProgress: FunctionComponent<CircleProgressProps & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
declare type EventType = 'row' | 'col';
|
|
3
|
+
export interface ColProps {
|
|
4
|
+
span: string | number;
|
|
5
|
+
offset: string | number;
|
|
6
|
+
gutter: string | number;
|
|
7
|
+
onClick: (e: any, type: EventType) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const Col: FunctionComponent<Partial<ColProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface CollapseProps {
|
|
3
|
+
activeName: Array<number | string> | number | string;
|
|
4
|
+
accordion: boolean;
|
|
5
|
+
icon: string;
|
|
6
|
+
iconSize: string;
|
|
7
|
+
iconColor: string;
|
|
8
|
+
rotate: number;
|
|
9
|
+
change: (isOpen: boolean, name: string) => void;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import { BaseLang } from '@/locales/base';
|
|
3
|
+
export interface ConfigProviderProps {
|
|
4
|
+
locale: BaseLang;
|
|
5
|
+
}
|
|
6
|
+
export declare const defaultConfigRef: {
|
|
7
|
+
current: ConfigProviderProps;
|
|
8
|
+
};
|
|
9
|
+
export declare const setDefaultConfig: (config: ConfigProviderProps) => void;
|
|
10
|
+
export declare const getDefaultConfig: () => ConfigProviderProps;
|
|
11
|
+
export declare const useConfig: () => ConfigProviderProps;
|
|
12
|
+
export declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
+
export interface CountDownProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
paused: boolean;
|
|
6
|
+
showDays: boolean;
|
|
7
|
+
showPlainText: boolean;
|
|
8
|
+
startTime: number | string;
|
|
9
|
+
endTime: number | string;
|
|
10
|
+
onEnd: () => void;
|
|
11
|
+
onPaused: (restTime: number) => void;
|
|
12
|
+
onRestart: (restTime: number) => void;
|
|
13
|
+
onUpdate: (restTime: any) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const CountDown: FunctionComponent<Partial<CountDownProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface PickerOption {
|
|
3
|
+
text: string | number;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: string;
|
|
6
|
+
children?: PickerOption[];
|
|
7
|
+
className?: string | number;
|
|
8
|
+
}
|
|
9
|
+
export interface DatePickerProps {
|
|
10
|
+
modelValue: Date | null;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime';
|
|
14
|
+
isShowChinese: boolean;
|
|
15
|
+
minuteStep: number;
|
|
16
|
+
minDate: Date;
|
|
17
|
+
maxDate: Date;
|
|
18
|
+
threeDimensional: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
formatter: (type: string, option: PickerOption) => PickerOption;
|
|
22
|
+
filter: (type: string, option: PickerOption[]) => PickerOption[];
|
|
23
|
+
onCloseDatePicker: () => void;
|
|
24
|
+
onConfirmDatePicker: (values: (string | number)[], options: PickerOption[]) => void;
|
|
25
|
+
onChangeDatePicker: (columnIndex: string | number, values: (string | number)[], options: PickerOption[]) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -3,7 +3,7 @@ export declare type DialogConfigType = {
|
|
|
3
3
|
prefixCls?: string;
|
|
4
4
|
simple?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export interface
|
|
6
|
+
export interface IDialogProps {
|
|
7
7
|
className?: string;
|
|
8
8
|
style?: CSSProperties;
|
|
9
9
|
visible?: boolean;
|
|
@@ -32,13 +32,13 @@ export declare type DialogReturnProps = {
|
|
|
32
32
|
update: (newConfig: ConfirmProps) => void;
|
|
33
33
|
close: () => void;
|
|
34
34
|
};
|
|
35
|
-
export interface ConfirmProps extends
|
|
35
|
+
export interface ConfirmProps extends IDialogProps {
|
|
36
36
|
content?: ReactNode;
|
|
37
37
|
icon?: ReactNode | null;
|
|
38
38
|
isNotice?: boolean;
|
|
39
39
|
noticeType?: string;
|
|
40
40
|
}
|
|
41
|
-
export interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<
|
|
41
|
+
export interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<IDialogProps>> {
|
|
42
42
|
confirm: (props: ConfirmProps) => DialogReturnProps;
|
|
43
43
|
alert: (props: ConfirmProps) => DialogReturnProps;
|
|
44
44
|
config: (config: DialogConfigType) => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export declare type ContentPositionType = 'left' | 'center' | 'right';
|
|
3
|
+
export declare type DirectionType = 'horizontal' | 'vertical';
|
|
4
|
+
export interface DividerProps {
|
|
5
|
+
contentPosition: ContentPositionType;
|
|
6
|
+
dashed: boolean;
|
|
7
|
+
hairline: boolean;
|
|
8
|
+
styles?: React.CSSProperties;
|
|
9
|
+
className?: string;
|
|
10
|
+
direction?: DirectionType;
|
|
11
|
+
}
|
|
12
|
+
export declare const Divider: FunctionComponent<Partial<DividerProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface DragProps {
|
|
3
|
+
attract: boolean;
|
|
4
|
+
direction: undefined | string;
|
|
5
|
+
boundary: {
|
|
6
|
+
top: number;
|
|
7
|
+
left: number;
|
|
8
|
+
right: number;
|
|
9
|
+
bottom: number;
|
|
10
|
+
};
|
|
11
|
+
className: string;
|
|
12
|
+
style: React.CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare const Drag: FunctionComponent<Partial<DragProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export declare const elevatorContext: React.Context<ElevatorData>;
|
|
3
|
+
export interface ElevatorProps {
|
|
4
|
+
height: number | string;
|
|
5
|
+
acceptKey: string;
|
|
6
|
+
indexList: any[];
|
|
7
|
+
isSticky: boolean;
|
|
8
|
+
spaceHeight: number;
|
|
9
|
+
titleHeight: number;
|
|
10
|
+
className: string;
|
|
11
|
+
style: React.CSSProperties;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
clickItem: (key: string, item: ElevatorData) => void;
|
|
14
|
+
clickIndex: (key: string) => void;
|
|
15
|
+
}
|
|
16
|
+
interface ElevatorData {
|
|
17
|
+
name: string;
|
|
18
|
+
id: number | string;
|
|
19
|
+
[key: string]: string | number;
|
|
20
|
+
}
|
|
21
|
+
export declare const Elevator: FunctionComponent<Partial<ElevatorProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
export interface EmptyProps {
|
|
3
|
+
image: ReactNode;
|
|
4
|
+
imageSize: number | string;
|
|
5
|
+
description: ReactNode;
|
|
6
|
+
className: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Empty: FunctionComponent<Partial<EmptyProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
1
|
+
import React, { FunctionComponent, MouseEvent } from 'react';
|
|
2
2
|
declare type Direction = 'right' | 'left';
|
|
3
3
|
declare type Position = {
|
|
4
4
|
top?: string;
|
|
@@ -14,7 +14,7 @@ export interface FixedNavProps {
|
|
|
14
14
|
position: Position;
|
|
15
15
|
type: Direction;
|
|
16
16
|
onChange: (v: any) => void;
|
|
17
|
-
onSelected: (
|
|
17
|
+
onSelected: (v: any, event: MouseEvent) => void;
|
|
18
18
|
slotList: React.ReactNode;
|
|
19
19
|
slotBtn: React.ReactNode;
|
|
20
20
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
declare type Direction = 'right' | 'left';
|
|
3
|
+
declare type Position = {
|
|
4
|
+
top?: string;
|
|
5
|
+
bottom?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface FixedNavProps {
|
|
8
|
+
fixednavClass: string;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
overlay: boolean;
|
|
11
|
+
navList: Array<any>;
|
|
12
|
+
activeText: string;
|
|
13
|
+
unActiveText: string;
|
|
14
|
+
position: Position;
|
|
15
|
+
type: Direction;
|
|
16
|
+
onChange: (v: any) => void;
|
|
17
|
+
onSelected: (item: any, e: any) => void;
|
|
18
|
+
slotList: React.ReactNode;
|
|
19
|
+
slotBtn: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export declare type GridDirection = 'horizontal' | 'vertical';
|
|
3
|
+
export interface GridProps {
|
|
4
|
+
columnNum: string | number;
|
|
5
|
+
border: boolean;
|
|
6
|
+
gutter: string | number;
|
|
7
|
+
center: boolean;
|
|
8
|
+
square: boolean;
|
|
9
|
+
reverse: boolean;
|
|
10
|
+
direction: GridDirection;
|
|
11
|
+
className?: string;
|
|
12
|
+
iconSize?: string | number;
|
|
13
|
+
iconColor?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
export declare const Grid: FunctionComponent<Partial<GridProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export declare type GridDirection = 'horizontal' | 'vertical';
|
|
3
|
+
export interface GridProps {
|
|
4
|
+
columnNum: string | number;
|
|
5
|
+
border: boolean;
|
|
6
|
+
gutter: string | number;
|
|
7
|
+
center: boolean;
|
|
8
|
+
square: boolean;
|
|
9
|
+
reverse: boolean;
|
|
10
|
+
direction: GridDirection;
|
|
11
|
+
className?: string;
|
|
12
|
+
iconSize?: string | number;
|
|
13
|
+
iconColor?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
export declare const Grid: FunctionComponent<Partial<GridProps> & React.HTMLAttributes<HTMLDivElement>>;
|