dishui 0.0.17 → 0.0.18

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.
@@ -9,6 +9,8 @@ export type AppContextType = {
9
9
  export declare const useAppContext: () => AppContextType;
10
10
  export type AppProviderProps = {
11
11
  children: React.ReactNode;
12
+ initialLang?: 'zh' | 'en';
13
+ initialTheme?: ThemeType;
12
14
  };
13
15
  export declare const AppProvider: React.FC<AppProviderProps>;
14
16
  export default AppProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dishui",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "一个基于React的vibe coding出来的UI组件库",
5
5
  "main": "dist/dishui.umd.js",
6
6
  "module": "dist/dishui.es.js",