gradio/js/button
pngwn 141afe1cf9
chore: update versions (#6188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-31 08:25:11 -07:00
..
shared Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
Button.stories.svelte Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
CHANGELOG.md chore: update versions (#6188) 2023-10-31 08:25:11 -07:00
Index.svelte Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
package.json chore: update versions (#6188) 2023-10-31 08:25:11 -07:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@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>