dt-shared-front 2.2.52 → 2.2.53

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.
@@ -62,4 +62,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
62
62
  onPointerUp?: (e: any) => void;
63
63
  onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
64
64
  onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
65
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLInputElement>>;
65
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLInputElement>>;
@@ -5,6 +5,7 @@ declare type ISwitchProps = {
5
5
  title?: string;
6
6
  className?: string;
7
7
  onChange?: (value: boolean) => void;
8
+ disabled?: boolean;
8
9
  };
9
10
  export declare const Switch: (props: ISwitchProps) => React.JSX.Element;
10
11
  export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: (props: {
5
+ value?: boolean;
6
+ name?: string;
7
+ title?: string;
8
+ className?: string;
9
+ onChange?: (value: boolean) => void;
10
+ disabled?: boolean;
11
+ }) => React.JSX.Element;
12
+ };
13
+ export default _default;
14
+ export declare const Default: any;
15
+ export declare const Disabled: any;
16
+ export declare const Active: any;
@@ -26,4 +26,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
26
26
  onClear?: () => void;
27
27
  onSearch?: (e: any) => void;
28
28
  onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
29
- } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLTextAreaElement>>;
29
+ } & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLTextAreaElement>>;