@apexcura/ui-components 0.0.16-Beta1165 → 0.0.16-Beta1167
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,4 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export interface FormInputLabelProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
color?: string;
|
|
6
|
+
element?: 'input-radio' | string;
|
|
7
|
+
variant?: 'button' | 'default';
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const FormInputLabel: React.FC<FormInputLabelProps>;
|
|
4
11
|
export default FormInputLabel;
|
|
@@ -8,8 +8,9 @@ type radioValueProps = {
|
|
|
8
8
|
value?: string | undefined;
|
|
9
9
|
} | undefined;
|
|
10
10
|
};
|
|
11
|
-
interface RadioElementProps extends ElementType {
|
|
11
|
+
interface RadioElementProps extends Omit<ElementType, 'variant'> {
|
|
12
12
|
value?: radioValueProps | null;
|
|
13
|
+
variant?: 'button' | 'circled';
|
|
13
14
|
}
|
|
14
15
|
export declare const RadioElement: (props: RadioElementProps) => React.JSX.Element;
|
|
15
16
|
export {};
|