Skip to content

Commit

Permalink
Add missing export for new components (#6391)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Oct 18, 2024
1 parent b1b41e3 commit 705e2e0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/news/6391.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing export for new components @sneridagh
9 changes: 9 additions & 0 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ export { BlockToolbar } from './components/BlockToolbar/BlockToolbar';
export { Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs';
export { Button } from './components/Button/Button';
export { Calendar } from './components/Calendar/Calendar';
export { ColorArea } from './components/ColorArea/ColorArea';
export { ColorField } from './components/ColorField/ColorField';
export { ColorPicker } from './components/ColorPicker/ColorPicker';
export { ColorSlider } from './components/ColorSlider/ColorSlider';
export { ColorSwatch } from './components/ColorSwatch/ColorSwatch';
export { ColorSwatchPicker } from './components/ColorSwatchPicker/ColorSwatchPicker';
export { ColorWheel } from './components/ColorWheel/ColorWheel';
export { Checkbox } from './components/Checkbox/Checkbox';
export { CheckboxField } from './components/CheckboxField/CheckboxField';
export { CheckboxGroup } from './components/CheckboxGroup/CheckboxGroup';
Expand All @@ -11,6 +18,8 @@ export { DateField } from './components/DateField/DateField';
export { DatePicker } from './components/DatePicker/DatePicker';
export { DateRangePicker } from './components/DateRangePicker/DateRangePicker';
export { Dialog } from './components/Dialog/Dialog';
export { Disclosure } from './components/Disclosure/Disclosure';
export { DisclosureGroup } from './components/DisclosureGroup/DisclosureGroup';
export { Form } from './components/Form/Form';
export { GridList, GridListItem } from './components/GridList/GridList';
export { Icon } from './components/Icon/Icon';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const RenderBlocks = (props: RenderBlocksProps) => {
const Block = blocksConfig[blockType]?.view || DefaultBlockView;

return Block ? (
// @ts-ignore It's ok to pass the blockData as is
<Block
key={block}
id={block}
Expand Down

0 comments on commit 705e2e0

Please sign in to comment.