math-main-components 0.0.202 → 0.0.204

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,6 +1,5 @@
1
1
  import React from 'react';
2
- export type AccordeonProps = {
2
+ export declare function Accordeon({ title, children }: {
3
3
  title?: string;
4
- children?: React.ReactNode;
5
- };
6
- export declare function Accordeon({ title, children }: AccordeonProps): React.JSX.Element;
4
+ children: React.ReactNode;
5
+ }): React.JSX.Element;
@@ -1,11 +1,11 @@
1
- import React, { MouseEvent } from 'react';
1
+ import React, { MouseEvent, ReactNode } from 'react';
2
2
  type ButtonType = "blue" | "red" | "grey" | "lightBlue";
3
3
  export declare function Button({ id, children, iconName, iconFill, type, onClick, ...props }: {
4
4
  id?: string;
5
5
  iconName?: string;
6
6
  iconFill?: string;
7
7
  type?: ButtonType;
8
- children?: React.ReactNode;
8
+ children: ReactNode;
9
9
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
10
10
  } & React.HTMLAttributes<HTMLButtonElement>): React.JSX.Element;
11
11
  export {};
@@ -5,5 +5,5 @@ export declare function Checkbox({ id, name, checked, defaultChecked, onInput, c
5
5
  checked?: boolean;
6
6
  onInput?: (event: ChangeEvent<HTMLInputElement>) => void;
7
7
  defaultChecked?: boolean;
8
- children?: ReactNode;
8
+ children: ReactNode;
9
9
  }): React.JSX.Element;
@@ -3,5 +3,5 @@ export declare function RedirectButton({ id, type, onClick, children }: {
3
3
  id?: string;
4
4
  type: "forward" | "back" | "middle";
5
5
  onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
6
- children?: ReactNode;
6
+ children: ReactNode;
7
7
  }): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.202",
3
+ "version": "0.0.204",
4
4
  "author": "Emilian Scheel",
5
5
  "files": [
6
6
  "dist/**/*",