Skip to content

Commit 8f3e6b8

Browse files
author
Brijesh Bittu
committed
Remove redundatn class
1 parent 89b95b3 commit 8f3e6b8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/src/components/GhostButton.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import clsx from 'clsx';
21
import * as React from 'react';
32

43
import * as Styled from './GhostButton.pigment';
@@ -8,12 +7,5 @@ interface GhostButtonProps extends React.ComponentProps<'button'> {
87
}
98

109
export function GhostButton({ className, layout = 'text', ...props }: GhostButtonProps) {
11-
return (
12-
<Styled.GhostButton
13-
data-layout={layout}
14-
type="button"
15-
className={clsx('GhostButton', className)}
16-
{...props}
17-
/>
18-
);
10+
return <Styled.GhostButton data-layout={layout} type="button" className={className} {...props} />;
1911
}

0 commit comments

Comments
 (0)