@goodhood-web/ui 1.10.0-development.3 → 1.10.0-development.5

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.
@@ -0,0 +1,4 @@
1
+ import { NavigationTabProps } from './NavigationTab.types';
2
+
3
+ declare const NavigationTab: ({ onChange, tabs, value }: NavigationTabProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default NavigationTab;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export interface TabsProps {
4
+ content: ReactNode;
5
+ id: string | number;
6
+ label: string;
7
+ }
8
+ export interface NavigationTabProps {
9
+ onChange?: (event: React.SyntheticEvent | null, value: number | string | null) => void;
10
+ tabs: TabsProps[];
11
+ value: string | number | null;
12
+ }
@@ -3,5 +3,5 @@ import { InputHTMLAttributes } from 'react';
3
3
  export interface RadioButtonTypes extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
4
  id: string;
5
5
  label: string;
6
- size: 'small' | 'medium';
6
+ size: 'tiny' | 'small' | 'medium';
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.10.0-development.3",
3
+ "version": "1.10.0-development.5",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {