Skip to content

Commit

Permalink
Reorganize exports
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Nov 15, 2024
1 parent 2088a23 commit 1c5b08c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ if (expoApp && App.initiateExpo) {
App.initiateExpo(expoApp)
}

// Export consumer available utilities here so they are exported through npm
export { useIsScreenReaderEnabled, useTheme } from './utils'
export { useSnackbar } from './components/Snackbar/useSnackbar'

// Export components here so they are exported through npm
export { Alert } from './components/Alert/Alert'
export { Button, ButtonVariants } from './components/Button/Button'
Expand Down Expand Up @@ -33,7 +37,3 @@ export type { LoadingIndicatorProps } from './components/LoadingIndicator/Loadin
export type { SegmentedControlProps } from './components/SegmentedControl/SegmentedControl'
export type { SpacerProps } from './components/Spacer/Spacer'
export type { TextProps } from './components/Text/Text'

// Export consumer available utilities here so they are exported through npm
export { useIsScreenReaderEnabled, useTheme } from './utils'
export { useSnackbar } from './components/Snackbar/useSnackbar'

0 comments on commit 1c5b08c

Please sign in to comment.