1.0.8 • Published 5 years ago

@beisen-phoenix/mobile-radio v1.0.8

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

单选。

概述

用于单项选择

API

RadioGroup

参数说明类型默认值
options可选项Array
value指定选中的选项string / number
defaultValue默认选中的选项stringnumber
icon选择时的自定义icon 不传则为默认的React.ReactNodeRadioIcon
translation语言包 用于翻译组件内置常量{empty: string}{empty: '暂时没有信息哦~'}
onChange变化时回调函数(checkedValue: string / number ,checkItem: {text: any,value: any,checked?: boolean,disabled?: boolean}) => void
allowClear是否允许显示清空选项booleanfalse

RadioGroupWithFooter

参数说明类型默认值
options可选项Array
value指定选中的选项Array<string / number>
defaultValue默认选中的选项Array<string / number>
icon选择时的自定义icon 不传则为默认的React.ReactNodeRadioIcon
translation语言包 用于翻译组件内置常量{cancel: string,clear: string,empty: string}{empty: '暂时没有信息哦~',clear: '清空',cancel: '取消'}
onChange变化时回调函数(checkedValue: string / number ,checkItem: {text: any,value: any,checked?: boolean,disabled?: boolean}) => void
onCancel点击取消按钮时的回调() => void
allowClear是否允许显示清空选项booleanfalse
1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago