Browse Source
* export components interface * export specific props * fix formItem missed importpull/7736/head
ChaXinyu
7 years ago
committed by
偏右
28 changed files with 81 additions and 7 deletions
@ -1,5 +1,8 @@ |
|||||
import Anchor from './Anchor'; |
import Anchor from './Anchor'; |
||||
import AnchorLink from './AnchorLink'; |
import AnchorLink from './AnchorLink'; |
||||
|
|
||||
|
export { AnchorProps } from './Anchor'; |
||||
|
export { AnchorLinkProps } from './AnchorLink'; |
||||
|
|
||||
Anchor.Link = AnchorLink; |
Anchor.Link = AnchorLink; |
||||
export default Anchor; |
export default Anchor; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Breadcrumb from './Breadcrumb'; |
import Breadcrumb from './Breadcrumb'; |
||||
import BreadcrumbItem from './BreadcrumbItem'; |
import BreadcrumbItem from './BreadcrumbItem'; |
||||
|
|
||||
|
export { BreadcrumbProps } from './Breadcrumb'; |
||||
|
export { BreadcrumbItemProps } from './BreadcrumbItem'; |
||||
|
|
||||
Breadcrumb.Item = BreadcrumbItem; |
Breadcrumb.Item = BreadcrumbItem; |
||||
export default Breadcrumb; |
export default Breadcrumb; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Button from './button'; |
import Button from './button'; |
||||
import ButtonGroup from './button-group'; |
import ButtonGroup from './button-group'; |
||||
|
|
||||
|
export { ButtonProps, ButtonShape, ButtonSize, ButtonType } from './button'; |
||||
|
export { ButtonGroupProps } from './button-group'; |
||||
|
|
||||
Button.Group = ButtonGroup; |
Button.Group = ButtonGroup; |
||||
export default Button; |
export default Button; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Checkbox from './Checkbox'; |
import Checkbox from './Checkbox'; |
||||
import Group from './Group'; |
import Group from './Group'; |
||||
|
|
||||
|
export { CheckboxProps } from './Checkbox'; |
||||
|
export { CheckboxGroupProps, CheckboxOptionType } from './Group'; |
||||
|
|
||||
Checkbox.Group = Group; |
Checkbox.Group = Group; |
||||
export default Checkbox; |
export default Checkbox; |
||||
|
@ -1,2 +1,5 @@ |
|||||
import { Col } from '../grid'; |
import { Col, ColProps, ColSize } from '../grid'; |
||||
|
|
||||
|
export { ColProps, ColSize }; |
||||
|
|
||||
export default Col; |
export default Col; |
||||
|
@ -1,3 +1,5 @@ |
|||||
import Collapse from './Collapse'; |
import Collapse from './Collapse'; |
||||
|
|
||||
|
export { CollapsePanelProps, CollapseProps } from './Collapse'; |
||||
|
|
||||
export default Collapse; |
export default Collapse; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Dropdown from './dropdown'; |
import Dropdown from './dropdown'; |
||||
import DropdownButton from './dropdown-button'; |
import DropdownButton from './dropdown-button'; |
||||
|
|
||||
|
export { DropDownProps } from './dropdown'; |
||||
|
export { DropdownButtonProps } from './dropdown-button'; |
||||
|
|
||||
Dropdown.Button = DropdownButton; |
Dropdown.Button = DropdownButton; |
||||
export default Dropdown; |
export default Dropdown; |
||||
|
@ -1,3 +1,6 @@ |
|||||
import Form from './Form'; |
import Form from './Form'; |
||||
|
|
||||
|
export { FormProps, FormComponentProps, FormCreateOption, ValidateCallback, ValidationRule } from './Form'; |
||||
|
export { FormItemProps } from './FormItem'; |
||||
|
|
||||
export default Form; |
export default Form; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Layout from './layout'; |
import Layout from './layout'; |
||||
import Sider from './Sider'; |
import Sider from './Sider'; |
||||
|
|
||||
|
export { BasicProps as LayoutProps } from './layout'; |
||||
|
export { SiderProps } from './Sider'; |
||||
|
|
||||
Layout.Sider = Sider; |
Layout.Sider = Sider; |
||||
export default Layout; |
export default Layout; |
||||
|
@ -1,3 +1,5 @@ |
|||||
import Progress from './progress'; |
import Progress from './progress'; |
||||
|
|
||||
|
export { ProgressProps } from './progress'; |
||||
|
|
||||
export default Progress; |
export default Progress; |
||||
|
@ -1,2 +1,4 @@ |
|||||
import { Row } from '../grid'; |
import { Row, RowProps } from '../grid'; |
||||
|
|
||||
|
export { RowProps }; |
||||
export default Row; |
export default Row; |
||||
|
@ -1,3 +1,11 @@ |
|||||
import Table from './Table'; |
import Table from './Table'; |
||||
|
|
||||
|
export { ColumnProps } from './Column'; |
||||
|
export { ColumnGroupProps } from './ColumnGroup'; |
||||
|
export { FilterMenuProps } from './filterDropdown'; |
||||
|
export { FilterDropdownMenuWrapperProps } from './FilterDropdownMenuWrapper'; |
||||
|
export { SelectionBoxProps } from './SelectionBox'; |
||||
|
export { SelectionCheckboxAllProps } from './SelectionCheckboxAll'; |
||||
|
export { TableProps, TableRowSelection, TableColumnConfig } from './Table'; |
||||
|
|
||||
export default Table; |
export default Table; |
||||
|
@ -1,3 +1,6 @@ |
|||||
import Timeline from './Timeline'; |
import Timeline from './Timeline'; |
||||
|
|
||||
|
export { TimelineProps } from './Timeline'; |
||||
|
export { TimeLineItemProps } from './TimelineItem'; |
||||
|
|
||||
export default Timeline; |
export default Timeline; |
||||
|
@ -1,5 +1,8 @@ |
|||||
import Upload from './Upload'; |
import Upload from './Upload'; |
||||
import Dragger from './Dragger'; |
import Dragger from './Dragger'; |
||||
|
|
||||
|
export { UploadProps, UploadListProps, UploadChangeParam } from './interface'; |
||||
|
export { DraggerProps } from './Dragger'; |
||||
|
|
||||
Upload.Dragger = Dragger; |
Upload.Dragger = Dragger; |
||||
export default Upload; |
export default Upload; |
||||
|
Loading…
Reference in new issue