Skip to content

Commit

Permalink
Expose theme provider (#3001)
Browse files Browse the repository at this point in the history
### Description
While working on the tests for a new internal component, I noticed that
it was very tricky to test without the Theme, so instead of trying to
mock it and try to fix every property that throws an error, we should
export it.
  • Loading branch information
ajimenezlyft authored May 2, 2024
1 parent 0f6a5af commit 64eb8e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/packages/core/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export { default as TimeAgo } from "./timeago";
export { Typography } from "./typography";
export { default as ClutchApp } from "./AppProvider";
export { useTheme } from "./AppProvider/themes";
export { ThemeProvider } from "./Theme";

export { css as EMOTION_CSS, keyframes as EMOTION_KEYFRAMES } from "@emotion/react";

Expand Down

0 comments on commit 64eb8e2

Please sign in to comment.