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
8
src/UIShell/SkipToContent.svelte
Normal file
8
src/UIShell/SkipToContent.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script>
|
||||
export let href = "#main-content";
|
||||
export let tabindex = "0";
|
||||
</script>
|
||||
|
||||
<a {href} {tabindex} class:bx--skip-to-content={true} {...$$restProps} on:click>
|
||||
<slot>Skip to main content</slot>
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue