Skip to content

Commit

Permalink
chore: export UploadFile interface (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens authored Jun 14, 2024
1 parent a6f30b2 commit e674d2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/data-entry/Upload/Upload.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Upload as AntUpload } from 'antd'
import { type UploadProps as AntUploadProps } from 'antd'
import { type UploadProps as AntUploadProps, type UploadFile as AntUploadFile } from 'antd'
import { ConfigProvider } from 'src/components'

export interface IUploadFileProps extends AntUploadFile {}
export interface IUploadProps extends AntUploadProps {}

export const Upload = (props: IUploadProps) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export { Checkbox, type ICheckboxProps } from './data-entry/Checkbox/Checkbox'
export { Input, type IInputProps, type InputRef } from './data-entry/Input/Input'
export { InputNumber, type IInputNumberProps } from './data-entry/InputNumber/InputNumber'
export { Switch, type ISwitchProps } from './data-entry/Switch/Switch'
export { Upload, type IUploadProps } from './data-entry/Upload/Upload'
export { Upload, type IUploadProps, type IUploadFileProps } from './data-entry/Upload/Upload'
export { AutoComplete, type IAutoCompleteProps } from './data-entry/AutoComplete/AutoComplete'
export { TimePicker, type ITimePickerProps } from './data-entry/TimePicker/TimePicker'
export { Transfer, type ITransferProps } from './data-entry/Transfer/Transfer'
Expand Down

0 comments on commit e674d2f

Please sign in to comment.