@tactics/lokaal-loket 0.0.114 → 0.0.115

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -801,22 +801,22 @@ type routeLocation = "route" | "location";
801
801
 
802
802
  declare const RouteLocation: (args: IRouteLocation) => react_jsx_runtime.JSX.Element;
803
803
 
804
- interface SwitchI<T> {
805
- children: React$1.ReactElement<SwitchItemI<T>>[];
806
- onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number, value: T) => void;
807
- init: number;
804
+ interface SwitchI {
805
+ children: React$1.ReactElement<SwitchItemI>[];
806
+ onChange?: (e: React$1.MouseEvent<HTMLDivElement>, value: string) => void;
807
+ init: string;
808
808
  }
809
- interface SwitchItemI<T> {
809
+ interface SwitchItemI {
810
810
  label: string;
811
811
  content: React$1.ReactElement;
812
- value: T;
812
+ value: string;
813
813
  }
814
814
  interface SwitchItemContentI extends PropsWithChildren {
815
815
  }
816
816
 
817
817
  declare const Switch: {
818
- ({ children, onChange, init }: SwitchI<any>): react_jsx_runtime.JSX.Element;
819
- Item: (props: SwitchItemI<any>) => null;
818
+ ({ children, onChange, init }: SwitchI): react_jsx_runtime.JSX.Element;
819
+ Item: (props: SwitchItemI) => null;
820
820
  };
821
821
 
822
822
  interface CloseI {
package/build/index.d.ts CHANGED
@@ -801,22 +801,22 @@ type routeLocation = "route" | "location";
801
801
 
802
802
  declare const RouteLocation: (args: IRouteLocation) => react_jsx_runtime.JSX.Element;
803
803
 
804
- interface SwitchI<T> {
805
- children: React$1.ReactElement<SwitchItemI<T>>[];
806
- onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number, value: T) => void;
807
- init: number;
804
+ interface SwitchI {
805
+ children: React$1.ReactElement<SwitchItemI>[];
806
+ onChange?: (e: React$1.MouseEvent<HTMLDivElement>, value: string) => void;
807
+ init: string;
808
808
  }
809
- interface SwitchItemI<T> {
809
+ interface SwitchItemI {
810
810
  label: string;
811
811
  content: React$1.ReactElement;
812
- value: T;
812
+ value: string;
813
813
  }
814
814
  interface SwitchItemContentI extends PropsWithChildren {
815
815
  }
816
816
 
817
817
  declare const Switch: {
818
- ({ children, onChange, init }: SwitchI<any>): react_jsx_runtime.JSX.Element;
819
- Item: (props: SwitchItemI<any>) => null;
818
+ ({ children, onChange, init }: SwitchI): react_jsx_runtime.JSX.Element;
819
+ Item: (props: SwitchItemI) => null;
820
820
  };
821
821
 
822
822
  interface CloseI {