docs(select): Make size demo check the default value (#40536)

Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
This commit is contained in:
JiaQi 2023-02-04 13:12:30 +08:00 committed by GitHub
parent 12596a06f2
commit 121036348a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

View File

@ -6076,15 +6076,16 @@ Array [
</span> </span>
</label> </label>
<label <label
class="ant-radio-button-wrapper" class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
> >
<span <span
class="ant-radio-button" class="ant-radio-button ant-radio-button-checked"
> >
<input <input
checked=""
class="ant-radio-button-input" class="ant-radio-button-input"
type="radio" type="radio"
value="default" value="middle"
/> />
<span <span
class="ant-radio-button-inner" class="ant-radio-button-inner"

View File

@ -2160,15 +2160,16 @@ Array [
</span> </span>
</label> </label>
<label <label
class="ant-radio-button-wrapper" class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
> >
<span <span
class="ant-radio-button" class="ant-radio-button ant-radio-button-checked"
> >
<input <input
checked=""
class="ant-radio-button-input" class="ant-radio-button-input"
type="radio" type="radio"
value="default" value="middle"
/> />
<span <span
class="ant-radio-button-inner" class="ant-radio-button-inner"

View File

@ -27,7 +27,7 @@ const App: React.FC = () => {
<> <>
<Radio.Group value={size} onChange={handleSizeChange}> <Radio.Group value={size} onChange={handleSizeChange}>
<Radio.Button value="large">Large</Radio.Button> <Radio.Button value="large">Large</Radio.Button>
<Radio.Button value="default">Default</Radio.Button> <Radio.Button value="middle">Default</Radio.Button>
<Radio.Button value="small">Small</Radio.Button> <Radio.Button value="small">Small</Radio.Button>
</Radio.Group> </Radio.Group>
<br /> <br />