Skip to content

Commit

Permalink
chore: export option types (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-dickman authored Jul 26, 2024
1 parent eaf6998 commit 4acc270
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/data-entry/QueryItem/Cascader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ const Cascader = (props: ICascaderProps) => {
}
},
dropdownRender: menu => (
<div className={'query-item__dropdown'}>
<div className="query-item__dropdown">
<Input
allowClear
value={searchValue}
className={'query-item__input-search'}
className="query-item__input-search"
placeholder="Search"
onChange={a => {
onSearch(a)
Expand Down
2 changes: 2 additions & 0 deletions src/components/data-entry/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { type SelectProps as AntSelectProps } from 'antd'
import { type BaseOptionType, type DefaultOptionType } from 'antd/es/select'
import { ConfigProvider } from 'src/components'

export type { DefaultOptionType }

export interface ISelectProps<
ValueType = any,
OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType,
Expand Down
11 changes: 9 additions & 2 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export { Icon, type IIconProps } from './general/Icon/Icon'
export { Rate, type IRateProps } from './data-entry/Rate/Rate'
export { Form, type IFormProps } from './data-entry/Form/Form'
export { TreeSelect, type ITreeSelectProps } from './data-entry/TreeSelect/TreeSelect'
export { Select, type ISelectProps } from './data-entry/Select/Select'
export { Select, type ISelectProps, type DefaultOptionType } from './data-entry/Select/Select'
export { Mentions, type IMentionsProps } from './data-entry/Mentions/Mentions'
export { Radio, type IRadioProps } from './data-entry/Radio/Radio'
export { ColorPicker, type IColorPickerProps } from './data-entry/ColorPicker/ColorPicker'
Expand Down Expand Up @@ -39,7 +39,14 @@ export { Badge, type IBadgeProps } from './data-display/Badge/Badge'
export { Card, type ICardProps } from './data-display/Card/Card'
export { Avatar, type IAvatarProps } from './data-display/Avatar/Avatar'
export { Descriptions, type IDescriptionsProps } from './data-display/Descriptions/Descriptions'
export { Table, type ITableProps, type ColumnsType, type ExpandableConfig, type ColumnType, type TableProps } from './data-display/Table/Table'
export {
Table,
type ITableProps,
type ColumnsType,
type ExpandableConfig,
type ColumnType,
type TableProps,
} from './data-display/Table/Table'
export { Empty, type IEmptyProps } from './data-display/Empty/Empty'
export { Popover, type IPopoverProps } from './data-display/Popover/Popover'
export { List, type IListProps } from './data-display/List/List'
Expand Down

0 comments on commit 4acc270

Please sign in to comment.