1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

style: fix styles in CreateButton

This commit is contained in:
Youssef 2022-02-24 10:31:01 +01:00
parent 96dc6e811a
commit 396bb76c95

View File

@ -6,10 +6,7 @@ interface ICreateButtonProps extends IPermissionButtonProps {
name: string;
}
export const CreateButton = ({
name,
...rest
}: ICreateButtonProps) => {
export const CreateButton = ({ name, ...rest }: ICreateButtonProps) => {
return (
<PermissionButton type="submit" {...rest}>
Create {name}