@aidexa/open-ds
Advanced tools
Comparing version 1.0.27 to 1.0.28
import { ReactElement } from 'react'; | ||
export declare type RadioButtonProps = { | ||
id?: string; | ||
groupName: string; | ||
value: string; | ||
label?: ReactElement<any, any> | string; | ||
label: ReactElement<any, any> | string; | ||
selected?: boolean; | ||
disabled?: boolean; | ||
onChange?: (value: string) => void | string; | ||
callBack?: (value: boolean) => void | boolean; | ||
style?: React.CSSProperties; | ||
textStyle?: React.CSSProperties; | ||
reversedStyle?: boolean; | ||
}; | ||
/** | ||
* | ||
* @param id, name, value, label, selected, disabled, onChange, style, textStyle, reversedStyle | ||
* @param label, selected, callBack, style, textStyle | ||
* @constructor | ||
*/ | ||
export declare const RadioButton: ({ id, groupName, value, label, selected, disabled, onChange, style, textStyle, reversedStyle }: RadioButtonProps) => JSX.Element; | ||
export declare const RadioButton: ({ label, selected, callBack, style, textStyle }: RadioButtonProps) => JSX.Element; |
@@ -6,3 +6,3 @@ /// <reference types="react" /> | ||
title: string; | ||
component: ({ id, groupName, value, label, selected, disabled, onChange, style, textStyle, reversedStyle }: RadioButtonProps) => JSX.Element; | ||
component: ({ label, selected, callBack, style, textStyle }: RadioButtonProps) => JSX.Element; | ||
argTypes: { | ||
@@ -15,3 +15,2 @@ onChange: { | ||
export default _default; | ||
export declare const Basic5: Story<RadioButtonProps>; | ||
export declare const Basic1: Story<RadioButtonProps>; |
import { ReactElement } from 'react'; | ||
export declare type RadioButtonProps = { | ||
id?: string; | ||
groupName: string; | ||
value: string; | ||
label?: ReactElement<any, any> | string; | ||
label: ReactElement<any, any> | string; | ||
selected?: boolean; | ||
disabled?: boolean; | ||
onChange?: (value: string) => void | string; | ||
callBack?: (value: boolean) => void | boolean; | ||
style?: React.CSSProperties; | ||
textStyle?: React.CSSProperties; | ||
reversedStyle?: boolean; | ||
}; | ||
/** | ||
* | ||
* @param id, name, value, label, selected, disabled, onChange, style, textStyle, reversedStyle | ||
* @param label, selected, callBack, style, textStyle | ||
* @constructor | ||
*/ | ||
export declare const RadioButton: ({ id, groupName, value, label, selected, disabled, onChange, style, textStyle, reversedStyle }: RadioButtonProps) => JSX.Element; | ||
export declare const RadioButton: ({ label, selected, callBack, style, textStyle }: RadioButtonProps) => JSX.Element; |
@@ -6,3 +6,3 @@ /// <reference types="react" /> | ||
title: string; | ||
component: ({ id, groupName, value, label, selected, disabled, onChange, style, textStyle, reversedStyle }: RadioButtonProps) => JSX.Element; | ||
component: ({ label, selected, callBack, style, textStyle }: RadioButtonProps) => JSX.Element; | ||
argTypes: { | ||
@@ -15,3 +15,2 @@ onChange: { | ||
export default _default; | ||
export declare const Basic5: Story<RadioButtonProps>; | ||
export declare const Basic1: Story<RadioButtonProps>; |
{ | ||
"name": "@aidexa/open-ds", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"author": "Banca Aidexa", | ||
@@ -5,0 +5,0 @@ "description": "Banca Aidexa Open Design System Foundation", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1318183
223
4652