gradio/js/label
Yuichiro Tachibana (Tsuchiya) 72f4ca88ab
Fix gr.Label styling and a11y markup (#8063)
* Set `text-align: left` to the texts in the Label component

* Remove unnecessary if-block, which is inside another if-block with the same condition

* Fix the accessibility markup

* add changeset

* add changeset

* Add Label.stories.svelte

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-18 15:37:48 -07:00
..
shared Fix gr.Label styling and a11y markup (#8063) 2024-04-18 15:37:48 -07:00
CHANGELOG.md chore: update versions (#7992) 2024-04-18 18:09:10 +00:00
Index.svelte Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
Label.component.spec.ts Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
Label.stories.svelte Fix gr.Label styling and a11y markup (#8063) 2024-04-18 15:37:48 -07:00
package.json chore: update versions (#7992) 2024-04-18 18:09:10 +00:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/label

<script>
	import { BaseLabel } from "@gradio/label";
</script>

BaseLabel

	export let value: {
		label?: string;
		confidences?: { label: string; confidence: number }[];
	};
	export let color: string | undefined = undefined;
	export let selectable = false;