gradio/js/button
Gradio PR Bot 86fdd9361e
chore: update versions (#9737)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 18:07:49 -07:00
..
shared Fix the behavior of gr.LoginButton locally and on Spaces (#9659) 2024-10-15 22:13:34 -07:00
Button.stories.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
CHANGELOG.md chore: update versions (#9737) 2024-10-16 18:07:49 -07:00
Index.svelte
main.ts Initial SSR refactor (#9102) 2024-08-14 15:17:36 +01:00
package.json chore: update versions (#9737) 2024-10-16 18:07:49 -07:00
README.md

@gradio/button

<script>
	import { BaseButton } from "@gradio/button";
	import { createEventDispatcher, tick, getContext } from "svelte";
	const dispatch = createEventDispatcher();
</script>

<BaseButton
	{value}
	{variant}
	{elem_id}
	{elem_classes}
	{size}
	{scale}
	{link}
	{icon}
	{min_width}
	{visible}
	{root}
	{root_url}
	on:click={() => dispatch("click")}
>
	{"My Button"}
</Button>