File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
static/app/components/tables/simpleTable Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,17 @@ import Panel from 'sentry/components/panels/panel';
88import { IconArrow } from 'sentry/icons' ;
99import { space } from 'sentry/styles/space' ;
1010
11- interface TableProps {
11+ interface TableProps extends HTMLAttributes < HTMLDivElement > {
1212 children : React . ReactNode ;
13- className ?: string ;
1413}
1514
1615interface RowProps extends HTMLAttributes < HTMLDivElement > {
1716 variant ?: 'default' | 'faded' ;
1817}
1918
20- export function SimpleTable ( { className , children } : TableProps ) {
19+ export function SimpleTable ( { children , ... props } : TableProps ) {
2120 return (
22- < StyledPanel className = { className } role = "table" >
21+ < StyledPanel { ... props } role = "table" >
2322 { children }
2423 </ StyledPanel >
2524 ) ;
You can’t perform that action at this time.
0 commit comments