Skip to content

Commit

Permalink
refactor: export datetime type (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemod authored Dec 22, 2022
1 parent 607ae8f commit 8b7e259
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipper-ui",
"version": "0.26.9",
"version": "0.26.10",
"description": "",
"main": "dist/index.js",
"homepage": "https://flipper-ui.ngi.com.br/",
Expand Down
5 changes: 4 additions & 1 deletion src/core/DateTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const DEFAULT_FORMATS = {
datetime: 'dd/MM/yyyy HH:mm'
}

type DateTimeProps = Omit<KeyboardDatePickerProps, 'margin' | 'onChange'> &
export type DateTimeProps = Omit<
KeyboardDatePickerProps,
'margin' | 'onChange'
> &
Omit<KeyboardDateTimePickerProps, 'margin' | 'onChange'> &
Omit<KeyboardTimePickerProps, 'margin' | 'onChange'> &
IProps &
Expand Down

0 comments on commit 8b7e259

Please sign in to comment.