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