Download 6.0.0-dev.4/dataframe/shared/EmptyRowButton.svelte from gradio/frontend: direct link, hf CLI and curl.
- Browser
- Download file 610 Bytes
-
https://huggingface.co/datasets/gradio/frontend/resolve/refs%2Fpr%2F1/6.0.0-dev.4/dataframe/shared/EmptyRowButton.svelte
- Command line
-
hf download hf://datasets/gradio/frontend@refs/pr/1/6.0.0-dev.4/dataframe/shared/EmptyRowButton.svelte
-
curl -L -o EmptyRowButton.svelte https://huggingface.co/datasets/gradio/frontend/resolve/refs%2Fpr%2F1/6.0.0-dev.4/dataframe/shared/EmptyRowButton.svelte
610 Bytes
| <script lang="ts"> | |
| export let on_click: () => void; | |
| </script> | |
| <button class="add-row-button" on:click={on_click} aria-label="Add row"> | |
| + | |
| </button> | |
| <style> | |
| .add-row-button { | |
| width: 100%; | |
| padding: var(--size-1); | |
| background: transparent; | |
| border: 1px dashed var(--border-color-primary); | |
| border-radius: var(--radius-sm); | |
| color: var(--body-text-color); | |
| cursor: pointer; | |
| transition: all 150ms; | |
| margin-top: var(--size-2); | |
| z-index: 10; | |
| position: relative; | |
| pointer-events: auto; | |
| } | |
| .add-row-button:hover { | |
| background: var(--background-fill-secondary); | |
| border-style: solid; | |
| } | |
| </style> | |