mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(theme): Theme
correctly imports toggle
, select
props (#2019)
Fixes #2018
This commit is contained in:
parent
fc44ef42cd
commit
49b5def815
4 changed files with 17 additions and 15 deletions
|
@ -37,7 +37,7 @@
|
|||
|
||||
/**
|
||||
* Override the default toggle props
|
||||
* @type {import("../Toggle/Toggle").ToggleProps & { themes?: [labelA: CarbonTheme, labelB: CarbonTheme]; }}
|
||||
* @type {import("../Toggle/Toggle.svelte").ToggleProps & { themes?: [labelA: CarbonTheme, labelB: CarbonTheme]; }}
|
||||
*/
|
||||
export let toggle = {
|
||||
themes: ["white", "g100"],
|
||||
|
@ -61,7 +61,7 @@
|
|||
|
||||
/**
|
||||
* Override the default select props
|
||||
* @type {import("../Select/Select").SelectProps & { themes?: CarbonTheme[]; }}
|
||||
* @type {import("../Select/Select.svelte").SelectProps & { themes?: CarbonTheme[]; }}
|
||||
*/
|
||||
export let select = {
|
||||
themes: themeKeys,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue