codex/broker-dashboard-redesign #49
@ -8,6 +8,7 @@ type BrokerDashboardCardProps = {
|
|||||||
filters?: ReactNode
|
filters?: ReactNode
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
sx?: SxProps<Theme>
|
sx?: SxProps<Theme>
|
||||||
|
ariaLabel?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export function BrokerDashboardCard({
|
export function BrokerDashboardCard({
|
||||||
@ -16,10 +17,12 @@ export function BrokerDashboardCard({
|
|||||||
filters,
|
filters,
|
||||||
children,
|
children,
|
||||||
sx,
|
sx,
|
||||||
|
ariaLabel,
|
||||||
}: BrokerDashboardCardProps) {
|
}: BrokerDashboardCardProps) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
component="section"
|
component="section"
|
||||||
|
aria-label={ariaLabel}
|
||||||
sx={{
|
sx={{
|
||||||
border: '1px solid',
|
border: '1px solid',
|
||||||
borderColor: 'divider',
|
borderColor: 'divider',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user