@veeqo/ui 5.12.4 → 5.12.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
export interface ForwardedChoiceProps {
|
|
3
|
+
className?: string;
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
label?: string;
|
|
5
6
|
hint?: string;
|
|
@@ -14,4 +15,4 @@ export interface ChoiceProps extends ForwardedChoiceProps {
|
|
|
14
15
|
id: string;
|
|
15
16
|
children: ReactNode;
|
|
16
17
|
}
|
|
17
|
-
export declare const Choice: ({ id, label, hint, tooltip, error, bordered, Badge, Accessory, Footer, children, disabled, }: ChoiceProps) => React.JSX.Element;
|
|
18
|
+
export declare const Choice: ({ id, className, label, hint, tooltip, error, bordered, Badge, Accessory, Footer, children, disabled, }: ChoiceProps) => React.JSX.Element;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ForwardedChoiceProps } from '../Choice';
|
|
3
3
|
type RadioValue = string | number;
|
|
4
4
|
export interface RadioProps extends ForwardedChoiceProps {
|
|
5
5
|
id?: string;
|
|
6
|
+
className?: string;
|
|
6
7
|
checked: boolean;
|
|
7
8
|
value?: RadioValue;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
name?: string;
|
|
10
11
|
onChange: (checked: boolean, value?: RadioValue) => void;
|
|
12
|
+
children?: ReactNode;
|
|
11
13
|
}
|
|
12
14
|
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
15
|
export {};
|