@codeandmoney/soelma 0.0.0-dev.8 → 0.0.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ export function makeUseStyles<
|
|
|
6
6
|
T extends StyleSheet.NamedStyles<T> | StyleSheet.NamedStyles<any>,
|
|
7
7
|
VariantsConfig extends Record<string, StyleSheet.NamedStyles<any>> | undefined = undefined,
|
|
8
8
|
>(config: {
|
|
9
|
-
styles
|
|
9
|
+
styles?: (theme: Theme) => T | StyleSheet.NamedStyles<T>;
|
|
10
10
|
variants?: ((theme: Theme) => VariantsConfig) | undefined;
|
|
11
11
|
}): <Variants extends { [Key in keyof VariantsConfig]: keyof VariantsConfig[Key] }>(
|
|
12
12
|
variants?: Partial<Variants>,
|