Skip to content

Commit

Permalink
Export default ActionBar component in drafts index (#4506)
Browse files Browse the repository at this point in the history
* Export default ActionBar component in drafts index

* Add changeset

* Update snapshots for exports

---------

Co-authored-by: Owen Niblock <owenniblock@Owens-MacBook-Pro-2.local>
  • Loading branch information
owenniblock and Owen Niblock committed Apr 17, 2024
1 parent 2a3ef68 commit d141918
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-wombats-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Export ActionBar default as ActionBar so it can be imported correctly
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ exports[`@primer/react/deprecated should not update exports without a semver cha

exports[`@primer/react/drafts should not update exports without a semver change 1`] = `
[
"ActionBar",
"type ActionBarProps",
"Blankslate",
"type BlankslateProps",
Expand Down Expand Up @@ -327,6 +328,7 @@ exports[`@primer/react/drafts should not update exports without a semver change

exports[`@primer/react/experimental should not update exports without a semver change 1`] = `
[
"ActionBar",
"type ActionBarProps",
"Blankslate",
"type BlankslateProps",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/drafts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ export * from './SelectPanel2'
export {default as TabPanels} from './TabPanels'
export type {TabPanelsProps, TabPanelsTabProps, TabPanelsPanelProps} from './TabPanels'
export * from '../TooltipV2'
export {default as ActionBar} from './ActionBar'
export * from './ActionBar'

0 comments on commit d141918

Please sign in to comment.