You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module '"@material/material-color-utilities"' has no exported member 'Variant'.ts(2305)
Module '"@material/material-color-utilities"' has no exported member 'SchemeRainbow'.ts(2305)
Module '"@material/material-color-utilities"' has no exported member 'SchemeFruitSalad'.ts(2305)
index.ts missing export
export * from "./scheme/variant.js";
export * from "./scheme/scheme_rainbow.js";
export * from "./scheme/scheme_fruit_salad.js";
The text was updated successfully, but these errors were encountered:
// Copies from @material/material-color-utilities instead of importing
// `import Variant from '@material/material-color-utilities/scheme/variant';
// Because it's not exported from the package
export enum Variant {
MONOCHROME,
NEUTRAL,
TONAL_SPOT,
VIBRANT,
EXPRESSIVE,
FIDELITY,
CONTENT,
}
Typescript library missing some export.
The scheme
SchemeRainbow
,SchemeFruitSalad
are missing.The enum
Variant
is also important when we try to create a DynamicScheme.Example
Example Error
index.ts missing export
The text was updated successfully, but these errors were encountered: