mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
f85686975e
* optional labels * added prop * Added IOComponent class * get component fix * fixed component function * fixed test components * formatting * fixed output tests * working on blocks tests * fixed test blocks * cleanup * respect show_label prop in all components * Update ui/packages/app/src/components/File/File.svelte Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Update ui/packages/app/src/components/Audio/Audio.svelte Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Update ui/packages/atoms/src/BlockLabel.svelte * foirmatting * formatting again Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
---|---|---|
.. | ||
src | ||
package.json | ||
README.md |
@gradio/button
<script>
import { Button } from "@gradio/button";
</script>
<button type="primary|secondary" href="string" on:click="{e.detail === href}">
content
</button>