@bigbinary/neetoui 5.2.19 → 5.2.21

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
@@ -446,6 +446,7 @@ export type TimePickerProps = {
446
446
  value?: any;
447
447
  id?: string;
448
448
  labelProps?: LabelProps;
449
+ required: boolean;
449
450
  [key: string]: any;
450
451
  };
451
452
 
@@ -605,9 +606,9 @@ export type TreeSelectProps = {
605
606
  allowClear?: Boolean;
606
607
  className?: string;
607
608
  disabled?: Boolean;
608
- error?: string,
609
- fieldNames?: { label?: string, value?: string };
610
- label?: string,
609
+ error?: string;
610
+ fieldNames?: { label?: string; value?: string };
611
+ label?: string;
611
612
  onChange: (value: string) => void;
612
613
  onSearch?: (searchValue: string) => void;
613
614
  placeholder?: string;
@@ -679,6 +680,16 @@ export type TreeProps = {
679
680
  onSelect: Function;
680
681
  };
681
682
 
683
+ export type TimePickerInputProps = {
684
+ label?: string;
685
+ value?: string | Date;
686
+ onChange?: (date: any, value: string) => void;
687
+ labelProps?: object;
688
+ className?: string;
689
+ error?: string;
690
+ required?: boolean;
691
+ };
692
+
682
693
  // components
683
694
 
684
695
  export const Accordion: React.FC<AccordionProps> & {
@@ -767,3 +778,4 @@ export const Kbd: React.FC<KbdProps>;
767
778
  export const NoData: React.FC<NoDataProps>;
768
779
  export const TreeSelect: React.FC<TreeSelectProps>;
769
780
  export const Tree: React.FC<TreeProps>;
781
+ export const TimePickerInput: React.FC<TimePickerInputProps>;