mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
b032344d81
* style: add checkout grop RTL * style: add rtl.less * fix: add test * fix: add group test * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: 偏右 <afc163@gmail.com>
54 lines
995 B
Plaintext
54 lines
995 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`CheckboxGroup passes prefixCls down to checkbox 1`] = `
|
|
<div
|
|
class="my-checkbox-group"
|
|
>
|
|
<label
|
|
class="my-checkbox-group-item my-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="my-checkbox"
|
|
>
|
|
<input
|
|
class="my-checkbox-input"
|
|
type="checkbox"
|
|
value="Apple"
|
|
/>
|
|
<span
|
|
class="my-checkbox-inner"
|
|
/>
|
|
</span>
|
|
<span>
|
|
Apple
|
|
</span>
|
|
</label>
|
|
<label
|
|
class="my-checkbox-group-item my-checkbox-wrapper"
|
|
style="font-size:12px"
|
|
>
|
|
<span
|
|
class="my-checkbox"
|
|
>
|
|
<input
|
|
class="my-checkbox-input"
|
|
type="checkbox"
|
|
value="Orange"
|
|
/>
|
|
<span
|
|
class="my-checkbox-inner"
|
|
/>
|
|
</span>
|
|
<span>
|
|
Orange
|
|
</span>
|
|
</label>
|
|
</div>
|
|
`;
|
|
|
|
exports[`CheckboxGroup rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<div
|
|
class="ant-checkbox-group ant-checkbox-group-rtl"
|
|
/>
|
|
`;
|