fix(striker-ui): expose additional props in Panel

main
Tsu-ba-me 2 years ago
parent 8e522246a8
commit a9cb1da195
  1. 13
      striker-ui/components/Panels/Panel.tsx

@ -1,3 +1,4 @@
import { FC } from 'react';
import { Box, GlobalStyles, PaperProps, styled } from '@mui/material';
import {
@ -74,14 +75,20 @@ const styledScrollbars = (
/>
);
const Panel = ({
const Panel: FC<PanelProps> = ({
children,
classes: rootClasses,
className: rootClassName,
sx: rootSx,
}: PanelProps): JSX.Element => (
...restRootProps
}) => (
<StyledBox
{...{ classes: rootClasses, className: rootClassName, sx: rootSx }}
{...{
classes: rootClasses,
className: rootClassName,
sx: rootSx,
...restRootProps,
}}
>
{styledScrollbars}
<div className={`${classes.square} ${classes.topSquare}`} />

Loading…
Cancel
Save