@tactics/lokaal-loket 0.0.111 → 0.0.113

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -803,7 +803,8 @@ declare const RouteLocation: (args: IRouteLocation) => react_jsx_runtime.JSX.Ele
803
803
 
804
804
  interface SwitchI {
805
805
  children: React$1.ReactElement<SwitchItemI>[];
806
- onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number) => void;
806
+ onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number, child: React$1.ReactElement<SwitchItemI>) => void;
807
+ init: number;
807
808
  }
808
809
  interface SwitchItemI {
809
810
  label: string;
@@ -813,7 +814,7 @@ interface SwitchItemContentI extends PropsWithChildren {
813
814
  }
814
815
 
815
816
  declare const Switch: {
816
- ({ children, onChange }: SwitchI): react_jsx_runtime.JSX.Element;
817
+ ({ children, onChange, init }: SwitchI): react_jsx_runtime.JSX.Element;
817
818
  Item: (props: SwitchItemI) => null;
818
819
  };
819
820
 
package/build/index.d.ts CHANGED
@@ -803,7 +803,8 @@ declare const RouteLocation: (args: IRouteLocation) => react_jsx_runtime.JSX.Ele
803
803
 
804
804
  interface SwitchI {
805
805
  children: React$1.ReactElement<SwitchItemI>[];
806
- onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number) => void;
806
+ onChange?: (e: React$1.MouseEvent<HTMLDivElement>, index: number, child: React$1.ReactElement<SwitchItemI>) => void;
807
+ init: number;
807
808
  }
808
809
  interface SwitchItemI {
809
810
  label: string;
@@ -813,7 +814,7 @@ interface SwitchItemContentI extends PropsWithChildren {
813
814
  }
814
815
 
815
816
  declare const Switch: {
816
- ({ children, onChange }: SwitchI): react_jsx_runtime.JSX.Element;
817
+ ({ children, onChange, init }: SwitchI): react_jsx_runtime.JSX.Element;
817
818
  Item: (props: SwitchItemI) => null;
818
819
  };
819
820