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:
parent
96dc6e811a
commit
396bb76c95
@ -6,10 +6,7 @@ interface ICreateButtonProps extends IPermissionButtonProps {
|
|||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const CreateButton = ({
|
export const CreateButton = ({ name, ...rest }: ICreateButtonProps) => {
|
||||||
name,
|
|
||||||
...rest
|
|
||||||
}: ICreateButtonProps) => {
|
|
||||||
return (
|
return (
|
||||||
<PermissionButton type="submit" {...rest}>
|
<PermissionButton type="submit" {...rest}>
|
||||||
Create {name}
|
Create {name}
|
||||||
|
Loading…
Reference in New Issue
Block a user