Skip to content

Commit

Permalink
feat: export useAlertContext (#8433)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhainesva committed May 8, 2024
1 parent 85a81c8 commit fd5fab4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/funny-foxes-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/react": minor
---

Export `useAlertContext` hook
2 changes: 1 addition & 1 deletion packages/components/src/alert/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { Alert } from "./alert"
export type { AlertProps } from "./alert"
export { useAlertStyles } from "./alert-context"
export { useAlertStyles, useAlertContext } from "./alert-context"
export type { AlertStatus } from "./alert-context"
export { AlertDescription } from "./alert-description"
export type { AlertDescriptionProps } from "./alert-description"
Expand Down

0 comments on commit fd5fab4

Please sign in to comment.