mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
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>
|
||
|
```
|