mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
f2d71abe88
* redesign forms * finalise forms * upload components * fix CSS conflicts * abstract block + update image * restyle modify buttons * add file, audio, video * revert example * address comments
12 lines
192 B
Markdown
12 lines
192 B
Markdown
# `@gradio/button`
|
|
|
|
```html
|
|
<script>
|
|
import { Button } from "@gradio/button";
|
|
</script>
|
|
|
|
<button type="primary|secondary" href="string" on:click="{e.detail === href}">
|
|
content
|
|
</button>
|
|
```
|