docs: radio/demo/radiobutton.md - English translation (#3007)

English translation of labels
This commit is contained in:
Marius Ileana 2016-09-12 05:08:40 +03:00 committed by Benjy Cui
parent 00ac554e41
commit df856b9d9a

View File

@ -25,26 +25,26 @@ function onChange(e) {
ReactDOM.render(<div> ReactDOM.render(<div>
<div> <div>
<RadioGroup onChange={onChange} defaultValue="a"> <RadioGroup onChange={onChange} defaultValue="a">
<RadioButton value="a">杭州</RadioButton> <RadioButton value="a">Hangzhou</RadioButton>
<RadioButton value="b">上海</RadioButton> <RadioButton value="b">Shanghai</RadioButton>
<RadioButton value="c">北京</RadioButton> <RadioButton value="c">Beijing</RadioButton>
<RadioButton value="d">成都</RadioButton> <RadioButton value="d">Chengdu</RadioButton>
</RadioGroup> </RadioGroup>
</div> </div>
<div style={{ marginTop: 16 }}> <div style={{ marginTop: 16 }}>
<RadioGroup onChange={onChange} defaultValue="a"> <RadioGroup onChange={onChange} defaultValue="a">
<RadioButton value="a">杭州</RadioButton> <RadioButton value="a">Hangzhou</RadioButton>
<RadioButton value="b" disabled>上海</RadioButton> <RadioButton value="b" disabled>上海</RadioButton>
<RadioButton value="c">北京</RadioButton> <RadioButton value="c">Beijing</RadioButton>
<RadioButton value="d">成都</RadioButton> <RadioButton value="d">Chengdu</RadioButton>
</RadioGroup> </RadioGroup>
</div> </div>
<div style={{ marginTop: 16 }}> <div style={{ marginTop: 16 }}>
<RadioGroup disabled onChange={onChange} defaultValue="a"> <RadioGroup disabled onChange={onChange} defaultValue="a">
<RadioButton value="a">杭州</RadioButton> <RadioButton value="a">Hangzhou</RadioButton>
<RadioButton value="b">上海</RadioButton> <RadioButton value="b">Shanghai</RadioButton>
<RadioButton value="c">北京</RadioButton> <RadioButton value="c">Beijing</RadioButton>
<RadioButton value="d">成都</RadioButton> <RadioButton value="d">Chengdu</RadioButton>
</RadioGroup> </RadioGroup>
</div> </div>
</div>, mountNode); </div>, mountNode);