math-main-components 0.0.231 → 0.0.234

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.
@@ -1 +1 @@
1
- export { RadioCards } from './RadioCards';
1
+ export { RadioCard, RadioCards } from './RadioCards';
@@ -2,11 +2,11 @@
2
2
  import type { StoryObj } from '@storybook/react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ children, defaultActive, onChange }: {
5
+ component: ({ children, defaultActive, onSelected, ...props }: {
6
6
  children: import("react").ReactNode;
7
7
  defaultActive?: boolean | undefined;
8
- onChange?: ((isActive: boolean) => void) | undefined;
9
- }) => import("react").JSX.Element;
8
+ onSelected?: ((isActive: boolean) => void) | undefined;
9
+ } & import("react").HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
10
10
  parameters: {
11
11
  layout: string;
12
12
  };
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- export declare const Switch: ({ children, defaultActive, onChange }: {
1
+ import React, { HTMLAttributes } from "react";
2
+ export declare const Switch: ({ children, defaultActive, onSelected, ...props }: {
3
3
  children: React.ReactNode;
4
4
  defaultActive?: boolean | undefined;
5
- onChange?: ((isActive: boolean) => void) | undefined;
6
- }) => React.JSX.Element;
5
+ onSelected?: ((isActive: boolean) => void) | undefined;
6
+ } & React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;