From 8b7e259aef2ace531eacde1311a0a785cb392d6a Mon Sep 17 00:00:00 2001 From: Henrique Souza Date: Thu, 22 Dec 2022 17:32:49 -0300 Subject: [PATCH] refactor: export datetime type (#295) --- package.json | 2 +- src/core/DateTime.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index de94b737..08bf1765 100644 --- a/package.json +++ b/package.json @@ -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/", diff --git a/src/core/DateTime.tsx b/src/core/DateTime.tsx index b760be0e..57c5d822 100644 --- a/src/core/DateTime.tsx +++ b/src/core/DateTime.tsx @@ -31,7 +31,10 @@ const DEFAULT_FORMATS = { datetime: 'dd/MM/yyyy HH:mm' } -type DateTimeProps = Omit & +export type DateTimeProps = Omit< + KeyboardDatePickerProps, + 'margin' | 'onChange' +> & Omit & Omit & IProps &