mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
c34caad24c
* test: js => ts * test: add test * fix: fix eslint error * test: add test case * fix: fix test error * fix: fix eslint error * fix: fix eslint error * fix: eslint error fix * fix: fallback eslint config & add test case * test: add all test case * fix: bugfix * fix: bugFix * fix: bugFix * fix: bugFix * fix: lint * fix: add React.createRef * fix: add breadcrumbName in Routes * fix: any commit for restart ci/cd * fix: remove type * fix: test fix * fix: test fix * fix: add ts-ignore for id * test: add Icon test case * test: remove ts-ignore * test: add Icon test case
89 lines
1.5 KiB
Plaintext
89 lines
1.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Radio Button rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<label
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-rtl"
|
|
>
|
|
<span
|
|
class="ant-radio-button"
|
|
>
|
|
<input
|
|
class="ant-radio-button-input"
|
|
type="radio"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-radio-button-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
`;
|
|
|
|
exports[`Radio Button should render correctly 1`] = `
|
|
<label
|
|
class="ant-radio-button-wrapper customized"
|
|
>
|
|
<span
|
|
class="ant-radio-button"
|
|
>
|
|
<input
|
|
class="ant-radio-button-input"
|
|
type="radio"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-radio-button-inner"
|
|
/>
|
|
</span>
|
|
<span>
|
|
Test
|
|
</span>
|
|
</label>
|
|
`;
|
|
|
|
exports[`Radio Group passes prefixCls down to radio 1`] = `
|
|
<div
|
|
class="my-radio-group my-radio-group-outline"
|
|
>
|
|
<label
|
|
class="my-radio-wrapper"
|
|
>
|
|
<span
|
|
class="my-radio"
|
|
>
|
|
<input
|
|
class="my-radio-input"
|
|
type="radio"
|
|
value="Apple"
|
|
/>
|
|
<span
|
|
class="my-radio-inner"
|
|
/>
|
|
</span>
|
|
<span>
|
|
Apple
|
|
</span>
|
|
</label>
|
|
<label
|
|
class="my-radio-wrapper"
|
|
style="font-size: 12px;"
|
|
>
|
|
<span
|
|
class="my-radio"
|
|
>
|
|
<input
|
|
class="my-radio-input"
|
|
type="radio"
|
|
value="Orange"
|
|
/>
|
|
<span
|
|
class="my-radio-inner"
|
|
/>
|
|
</span>
|
|
<span>
|
|
Orange
|
|
</span>
|
|
</label>
|
|
</div>
|
|
`;
|