mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
a2a3cd466c
* add hide_heading param * amend hide heading logic for single labels * add changeset * add changeset * fix test * tweak docstring * hide_heading -> show_heading * add changeset * set show_headings to true * lint * fix hidden top label * fix background fill for ms and webkit * add changeset * Update gradio/components/label.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
---|---|---|
.. | ||
shared | ||
CHANGELOG.md | ||
Index.svelte | ||
Label.component.spec.ts | ||
Label.stories.svelte | ||
package.json | ||
README.md |
@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;