File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66} from 'react'
77import styled from 'styled-components'
88
9- type EmptyStateProps = ComponentProps < typeof EmptyStateSC > & {
9+ export type EmptyStateProps = ComponentProps < typeof EmptyStateSC > & {
1010 message : string
1111 description ?: string
1212 icon ?: ReactElement
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import Button from './Button'
4141import CaretUpIcon from './icons/CaretUpIcon'
4242import ArrowRightIcon from './icons/ArrowRightIcon'
4343import { FillLevelProvider } from './contexts/FillLevelContext'
44- import EmptyState from './EmptyState'
44+ import EmptyState , { type EmptyStateProps } from './EmptyState'
4545import { Spinner } from './Spinner'
4646
4747export type TableProps = DivProps & {
@@ -64,7 +64,7 @@ export type TableProps = DivProps & {
6464 >
6565 reactTableOptions ?: Partial < Omit < TableOptions < any > , 'data' | 'columns' > >
6666 onRowClick ?: ( e : MouseEvent < HTMLTableRowElement > , row : Row < any > ) => void
67- emptyStateProps ?: ComponentProps < typeof EmptyState >
67+ emptyStateProps ?: EmptyStateProps
6868 hasNextPage ?: boolean
6969 fetchNextPage ?: ( ) => void
7070 isFetchingNextPage ?: boolean
You can’t perform that action at this time.
0 commit comments