mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
chore: lift components folder
This commit is contained in:
parent
76df51674d
commit
2200b29b92
301 changed files with 57 additions and 76 deletions
24
src/SkeletonPlaceholder/SkeletonPlaceholder.Story.svelte
Normal file
24
src/SkeletonPlaceholder/SkeletonPlaceholder.Story.svelte
Normal file
|
@ -0,0 +1,24 @@
|
|||
<script>
|
||||
import SkeletonPlaceholder from "./SkeletonPlaceholder.svelte";
|
||||
</script>
|
||||
|
||||
<style>
|
||||
:global(.my--skeleton__placeholder--small) {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
:global(.my--skeleton__placeholder--medium) {
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
:global(.my--skeleton__placeholder--large) {
|
||||
height: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="height: 250px; width: 250px;">
|
||||
<SkeletonPlaceholder {...$$props} />
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue