@bigbinary/neetoui 6.0.0-beta → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { Dayjs } from "dayjs";
1
2
  import React from "react";
2
3
 
3
4
  export interface AccordionProps {
@@ -201,6 +202,22 @@ export type DatePickerProps = {
201
202
  [key: string]: any;
202
203
  };
203
204
 
205
+ export type DateTimePickerProps = {
206
+ value: any;
207
+ defaultValue?: any;
208
+ className?: string;
209
+ label?: string;
210
+ size?: "small" | "medium" | "large";
211
+ dropdownClassName?: string;
212
+ dateFormat?: string;
213
+ onChange?: (dateTime: Dayjs) => void;
214
+ nakedInput?: boolean;
215
+ error?: string;
216
+ id?: string;
217
+ labelProps?: LabelProps;
218
+ [key: string]: any;
219
+ };
220
+
204
221
  export interface DropdownProps {
205
222
  icon?: string | any;
206
223
  label?: React.ReactNode;
@@ -755,6 +772,7 @@ export const Button: React.FC<ButtonProps>;
755
772
  export const Callout: React.FC<CalloutProps>;
756
773
  export const Checkbox: React.FC<CheckboxProps>;
757
774
  export const DatePicker: React.FC<DatePickerProps>;
775
+ export const DateTimePicker: React.FC<DateTimePickerProps>;
758
776
  export const Dropdown: React.FC<DropdownProps> & {
759
777
  Menu: React.FC<
760
778
  React.DetailedHTMLProps<