DataGrid cell autocomplete
This commit is contained in:
23
frontend_reactjs/src/components/CardInfo/CardInfo.tsx
Normal file
23
frontend_reactjs/src/components/CardInfo/CardInfo.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import { Box, Chip, Divider, Paper, Typography } from '@mui/material'
|
||||
import React, { PropsWithChildren, ReactElement, ReactNode } from 'react'
|
||||
|
||||
interface CardInfoProps extends PropsWithChildren {
|
||||
label: string;
|
||||
}
|
||||
|
||||
export default function CardInfo({
|
||||
children,
|
||||
label
|
||||
}: CardInfoProps) {
|
||||
return (
|
||||
<Paper sx={{ display: 'flex', flexDirection: 'column', gap: '16px', p: '16px' }}>
|
||||
<Typography fontWeight={600}>
|
||||
{label}
|
||||
</Typography>
|
||||
|
||||
<Divider />
|
||||
|
||||
{children}
|
||||
</Paper>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user