Update DashboardCardWrapper.tsx
This commit is contained in:
parent
0ba73281f8
commit
57f0bbfda0
|
@ -4,12 +4,14 @@ type DashboardCardWrapperProps = {
|
|||
children: React.ReactNode
|
||||
padding?: string
|
||||
width: string
|
||||
height?: string
|
||||
}
|
||||
|
||||
const DashboardCardWrapper = ({
|
||||
children,
|
||||
padding = '12px 16px',
|
||||
width,
|
||||
height
|
||||
}: DashboardCardWrapperProps) => {
|
||||
return (
|
||||
<Shadow
|
||||
|
@ -17,6 +19,7 @@ const DashboardCardWrapper = ({
|
|||
style={{
|
||||
flexGrow: '1',
|
||||
width: width,
|
||||
height: height,
|
||||
borderRadius: '16px',
|
||||
padding,
|
||||
backgroundColor: '$background',
|
||||
|
|
Loading…
Reference in New Issue