feat(dropdown): add hideLabel prop

This commit is contained in:
Eric Liu 2021-02-03 09:51:56 -08:00
commit 1cb9345653
5 changed files with 27 additions and 0 deletions

View file

@ -104,6 +104,12 @@ export interface DropdownProps extends svelte.JSX.HTMLAttributes<HTMLElementTagN
*/
label?: string;
/**
* Set to `true` to visually hide the label text
* @default false
*/
hideLabel?: boolean;
/**
* Override the default translation ids
*/