Skip to content

Commit

Permalink
Syntax cambio: export useTheme (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvuerings committed Mar 19, 2024
1 parent 858374e commit 82b2c59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-oranges-vanish.md
@@ -0,0 +1,5 @@
---
"@cambly/syntax-core": minor
---

Export useTheme hook
3 changes: 2 additions & 1 deletion packages/syntax-core/src/index.tsx
Expand Up @@ -19,7 +19,7 @@ import SelectList from "./SelectList/SelectList";
import TapArea from "./TapArea/TapArea";
import TextArea from "./TextArea/TextArea";
import TextField from "./TextField/TextField";
import ThemeProvider from "./ThemeProvider/ThemeProvider";
import ThemeProvider, { useTheme } from "./ThemeProvider/ThemeProvider";
import Tooltip from "./Tooltip/Tooltip";
import Typography from "./Typography/Typography";

Expand Down Expand Up @@ -48,4 +48,5 @@ export {
ThemeProvider,
Tooltip,
Typography,
useTheme,
};

0 comments on commit 82b2c59

Please sign in to comment.