Merge pull request #6277 from roylisto/roylisto/edit-button-group

Edit Button for Group Profile Card
This commit is contained in:
Fredrik Adelöw
2021-07-06 10:25:06 +02:00
committed by GitHub
3 changed files with 37 additions and 5 deletions
@@ -37,7 +37,6 @@ const useStyles = makeStyles(theme => ({
},
},
header: {
display: 'inline-block',
padding: theme.spacing(2, 2, 2, 2.5),
},
headerTitle: {
@@ -121,6 +120,7 @@ type Props = {
children?: ReactNode;
headerStyle?: object;
headerProps?: CardHeaderProps;
action?: ReactNode;
actionsClassName?: string;
actions?: ReactNode;
cardClassName?: string;
@@ -141,6 +141,7 @@ export const InfoCard = ({
children,
headerStyle,
headerProps,
action,
actionsClassName,
actions,
cardClassName,
@@ -190,6 +191,7 @@ export const InfoCard = ({
}}
title={title}
subheader={subheader}
action={action}
style={{ ...headerStyle }}
titleTypographyProps={titleTypographyProps}
{...headerProps}