🏷️(react) export DefaultToken types and defaultTokens variable
By doing this we provide more typings for consumers which makes more handy the use of the local configuration in cunningham.ts files.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import "./index.scss";
|
||||
import { PartialNested } from ":/types";
|
||||
import { tokens } from "./cunningham-tokens";
|
||||
|
||||
export * from "./components/Button";
|
||||
export * from "./components/DataGrid";
|
||||
@@ -12,3 +14,6 @@ export * from "./components/Forms/Select";
|
||||
export * from "./components/Loader";
|
||||
export * from "./components/Pagination";
|
||||
export * from "./components/Provider";
|
||||
|
||||
export type DefaultTokens = PartialNested<typeof tokens>;
|
||||
export const defaultTokens = tokens;
|
||||
|
||||
Reference in New Issue
Block a user