Skip to content

Commit

Permalink
feat(components): export components types (#434)
Browse files Browse the repository at this point in the history
fix #433
  • Loading branch information
Rafael Barros authored Nov 17, 2022
1 parent 3638b05 commit 45ea65a
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/Accordion/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './Accordion';
export type { AccordionPanelProps } from './AccordionPanel';
export type { AccordionTitleProps } from './AccordionTitle';
2 changes: 2 additions & 0 deletions src/lib/components/Avatar/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './Avatar';
export type { AvatarGroupProps } from './AvatarGroup';
export type { AvatarGroupdCounterProps } from './AvatarGroupCounter';
1 change: 1 addition & 0 deletions src/lib/components/Breadcrumb/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Breadcrumb';
export type { BreadcrumbItemProps } from './BreadcrumbItem';
1 change: 1 addition & 0 deletions src/lib/components/ButtonGroup/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './ButtonGroup';
export { default } from './ButtonGroup';
export type { ButtonGroupProps, PositionInButtonGroup } from './ButtonGroup';
1 change: 1 addition & 0 deletions src/lib/components/Dropdown/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Dropdown';
export type { DropdownItemProps } from './DropdownItem';
1 change: 1 addition & 0 deletions src/lib/components/Floating/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Floating';
export type { FloatingProps } from './Floating';
6 changes: 6 additions & 0 deletions src/lib/components/Footer/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export * from './Footer';
export type { FooterBrandProps } from './FooterBrand';
export type { CopyrightProps as FooterCopyrightProps } from './FooterCopyright';
export type { FooterIconProps } from './FooterIcon';
export type { FooterLinkProps } from './FooterLink';
export type { FooterLinkGroupProps } from './FooterLinkGroup';
export type { FooterTitleProps } from './FooterTitle';
1 change: 1 addition & 0 deletions src/lib/components/ListGroup/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './ListGroup';
export type { ListGroupItemProps } from './ListGroupItem';
3 changes: 3 additions & 0 deletions src/lib/components/Modal/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export * from './Modal';
export type { ModalBodyProps } from './ModalBody';
export type { ModalFooterProps } from './ModalFooter';
export type { ModalHeaderProps } from './ModalHeader';
4 changes: 4 additions & 0 deletions src/lib/components/Navbar/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export * from './Navbar';
export type { NavbarBrandProps } from './NavbarBrand';
export type { NavbarCollapseProps } from './NavbarCollapse';
export type { NavbarLinkProps } from './NavbarLink';
export type { NavbarToggleProps } from './NavbarToggle';
1 change: 1 addition & 0 deletions src/lib/components/Pagination/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Pagination';
export type { PaginationButtonProps } from './PaginationButton';
2 changes: 2 additions & 0 deletions src/lib/components/Rating/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './Rating';
export type { RatingAdvancedProps } from './RatingAdvanced';
export type { RatingStarProps } from './RatingStar';
4 changes: 4 additions & 0 deletions src/lib/components/Sidebar/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export * from './Sidebar';
export type { SidebarCollapseProps } from './SidebarCollapse';
export type { SidebarCTAProps } from './SidebarCTA';
export type { SidebarItemProps } from './SidebarItem';
export type { SidebarLogoProps } from './SidebarLogo';
1 change: 1 addition & 0 deletions src/lib/components/Tab/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { TabItemProps } from './TabItem';
export * from './Tabs';
5 changes: 5 additions & 0 deletions src/lib/components/Table/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export * from './Table';
export type { TableBodyProps } from './TableBody';
export type { TableCellProps } from './TableCell';
export type { TableHeadProps } from './TableHead';
export type { TableHeadCellProps } from './TableHeadCell';
export type { TableRowProps } from './TableRow';
5 changes: 5 additions & 0 deletions src/lib/components/Timeline/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export * from './Timeline';
export type { TimelineBodyProps } from './TimelineBody';
export type { TimelineContentProps } from './TimelineContent';
export type { TimelineItemProps } from './TimelineItem';
export type { TimelineTimeProps } from './TimelineTime';
export type { TimelineTitleProps } from './TimelineTitle';

0 comments on commit 45ea65a

Please sign in to comment.