mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +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>
|
||
|
```
|