gradio/js/button
pngwn bbf9ba7e99
i am changesets now (#9612)
* version

* fix
2024-10-09 13:46:26 +01:00
..
shared 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
Button.stories.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
CHANGELOG.md i am changesets now (#9612) 2024-10-09 13:46:26 +01:00
Index.svelte
main.ts
package.json i am changesets now (#9612) 2024-10-09 13:46:26 +01: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>