mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
fix(dropdown): strongly type translateWithId
(#1286)
This commit is contained in:
parent
0e88a24a55
commit
d242849780
5 changed files with 38 additions and 30 deletions
|
@ -83,8 +83,9 @@
|
|||
export let hideLabel = false;
|
||||
|
||||
/**
|
||||
* Override the default translation ids
|
||||
* @type {(id: any) => string}
|
||||
* Override the chevron icon label based on the open state.
|
||||
* Defaults to "Open menu" when closed and "Close menu" when open
|
||||
* @type {(id: import("../ListBox/ListBoxMenuIcon.svelte").ListBoxMenuIconTranslationId) => string}
|
||||
*/
|
||||
export let translateWithId = undefined;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue