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

Commit

Permalink
fix: Export missing components
Browse files Browse the repository at this point in the history
  • Loading branch information
rafenden committed Nov 20, 2019
1 parent e9bf666 commit 592f856
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ export { default as FieldUneditable } from './forms/elements/FieldUneditable'
export { default as Metadata } from './metadata/Metadata'
export { default as MetadataItem } from './metadata/MetadataItem'

// New window link
export { default as NewWindowLink } from './new-window-link/NewWindowLink'

// Pagination
export { default as Pagination } from './pagination/Pagination'

// Status message
export { default as StatusMessage } from './status-message/StatusMessage'

// Summary table
export { default as SummaryTable } from './summary-table/SummaryTable'
6 changes: 4 additions & 2 deletions src/summary-table/SummaryTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ const StyledCellList = styled('ul')`
margin: 0;
`

const SummaryTable = ({ caption, actions, children }) => (
<StyledTable caption={[caption, actions]}>{children}</StyledTable>
const SummaryTable = ({ caption, actions, children, ...rest }) => (
<StyledTable caption={[caption, actions]} {...rest}>
{children}
</StyledTable>
)

const StyledTableRow = styled(Table.Row)`
Expand Down

0 comments on commit 592f856

Please sign in to comment.