Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Export the Expanding Wrapper (#1622)
Browse files Browse the repository at this point in the history
Export the expandingWrapper
  • Loading branch information
sophie-macmillan authored Nov 22, 2022
1 parent e863c6e commit c6e1a9b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-lies-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@guardian/source-react-components-development-kitchen': patch
---

Export the Expanding Wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
} from './styles';
import type { ExpandingWrapperProps } from './types';

export type { ExpandingWrapperProps } from './types';

export const ExpandingWrapper: FC<ExpandingWrapperProps> = ({
name,
expandCallback,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as pkgExports from './index';
export type {
EditorialButtonProps,
EditorialLinkButtonProps,
ExpandingWrapperProps,
FooterLinksProps,
FooterWithContentsProps,
LineCount,
Expand All @@ -27,6 +28,7 @@ it('Should have exactly these exports', () => {
'EditorialButton',
'EditorialLinkButton',
'ErrorSummary',
'ExpandingWrapper',
'FooterLinks',
'FooterWithContents',
'InfoSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export { EditorialLinkButton } from './editorial-button/EditorialLinkButton';
export type { EditorialButtonProps } from './editorial-button/EditorialButton';
export type { EditorialLinkButtonProps } from './editorial-button/EditorialLinkButton';

export { ExpandingWrapper } from './expanding-wrapper/ExpandingWrapper';
export type { ExpandingWrapperProps } from './expanding-wrapper/ExpandingWrapper';

export { Lines } from './lines/Lines';
export { SquigglyLines } from './lines/SquigglyLines';
export { DashedLines } from './lines/DashedLines';
Expand Down

0 comments on commit c6e1a9b

Please sign in to comment.