We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b95b3 commit 8f3e6b8Copy full SHA for 8f3e6b8
docs/src/components/GhostButton.tsx
@@ -1,4 +1,3 @@
1
-import clsx from 'clsx';
2
import * as React from 'react';
3
4
import * as Styled from './GhostButton.pigment';
@@ -8,12 +7,5 @@ interface GhostButtonProps extends React.ComponentProps<'button'> {
8
7
}
9
10
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
- );
+ return <Styled.GhostButton data-layout={layout} type="button" className={className} {...props} />;
19
0 commit comments