mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
feat(components): add RadioButton
This commit is contained in:
parent
acbb3ace96
commit
bf502f904f
7 changed files with 109 additions and 0 deletions
14
src/components/RadioButton/RadioButton.Skeleton.svelte
Normal file
14
src/components/RadioButton/RadioButton.Skeleton.svelte
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let props = {};
|
||||
|
||||
import { cx } from '../../lib';
|
||||
|
||||
const _class = cx('--radio-button-wrapper', className);
|
||||
</script>
|
||||
|
||||
<div {...props} class={_class}>
|
||||
<div class={cx('--radio-button', '--skeleton')} />
|
||||
<span class={cx('--radio-button__label', '--skeleton')} />
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue