Skip to content

Commit

Permalink
Export props types for navigation components
Browse files Browse the repository at this point in the history
  • Loading branch information
lyzadanger committed Mar 3, 2023
1 parent 9036981 commit 1739aca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/navigation/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
export { default as PointerButton } from './PointerButton';
export { default as Link } from './Link';
export { default as LinkBase } from './LinkBase';
export { default as LinkButton } from './LinkButton';
export { default as PointerButton } from './PointerButton';
export { default as Tab } from './Tab';
export { default as TabList } from './TabList';

export type { LinkProps } from './Link';
export type { LinkBaseProps } from './LinkBase';
export type { LinkButtonProps } from './LinkButton';
export type { PointerButtonProps } from './PointerButton';
export type { TabProps } from './Tab';
export type { TabListProps } from './TabList';
9 changes: 9 additions & 0 deletions src/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,12 @@ export type {
OverlayProps,
PanelProps,
} from './components/layout';

export type {
PointerButtonProps,
LinkProps,
LinkBaseProps,
LinkButtonProps,
TabProps,
TabListProps,
} from './components/navigation/';

0 comments on commit 1739aca

Please sign in to comment.