Skip to content

Commit

Permalink
Add missing export for the SkipLink component (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ authored Nov 20, 2024
1 parent 2d831fa commit 6f0a749
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-brooms-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sumup-oss/circuit-ui": patch
---

Added missing export of the SkipLink component.
4 changes: 3 additions & 1 deletion packages/circuit-ui/components/SkipLink/SkipLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import { Anchor, type AnchorProps } from '../Anchor/index.js';

import classes from './SkipLink.module.css';

export const SkipLink = (props: AnchorProps) => (
export type SkipLinkProps = AnchorProps;

export const SkipLink = (props: SkipLinkProps) => (
<Anchor className={classes['skip-link']} {...props} />
);
1 change: 1 addition & 0 deletions packages/circuit-ui/components/SkipLink/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
*/

export { SkipLink } from './SkipLink.js';
export type { SkipLinkProps } from './SkipLink.js';
3 changes: 2 additions & 1 deletion packages/circuit-ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ export type {
TabPanelProps,
TabProps,
} from './components/Tabs/index.js';

export { SkipLink } from './components/SkipLink/index.js';
export type { SkipLinkProps } from './components/SkipLink/index.js';
// Miscellaneous
export { Spinner } from './components/Spinner/index.js';
export type { SpinnerProps } from './components/Spinner/index.js';
Expand Down

0 comments on commit 6f0a749

Please sign in to comment.