File tree Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ export const Paywall: FC<PaywallProps> = ({
25
25
< PremiumBadge />
26
26
</ Stack >
27
27
28
- { description && < p className = "font-inherit max-w-md text-sm" > { description } </ p > }
28
+ { description && (
29
+ < p className = "font-inherit max-w-md text-sm" > { description } </ p >
30
+ ) }
29
31
< Link
30
32
href = { documentationLink }
31
33
target = "_blank"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const meta: Meta<typeof SelectMenu> = {
31
31
</ SelectMenuButton >
32
32
</ SelectMenuTrigger >
33
33
< SelectMenuContent >
34
- < SelectMenuSearch onChange = { ( ) => { } } />
34
+ < SelectMenuSearch onChange = { ( ) => { } } />
35
35
< SelectMenuList >
36
36
{ opts . map ( ( o ) => (
37
37
< SelectMenuItem key = { o } selected = { o === selectedOpt } >
@@ -83,7 +83,7 @@ export const LongButtonText: Story = {
83
83
</ SelectMenuButton >
84
84
</ SelectMenuTrigger >
85
85
< SelectMenuContent >
86
- < SelectMenuSearch onChange = { ( ) => { } } />
86
+ < SelectMenuSearch onChange = { ( ) => { } } />
87
87
< SelectMenuList >
88
88
{ opts . map ( ( o ) => (
89
89
< SelectMenuItem key = { o } selected = { o === selectedOpt } >
Original file line number Diff line number Diff line change @@ -112,14 +112,9 @@ export const SelectMenuIcon: FC<HTMLProps<HTMLDivElement>> = (props) => {
112
112
113
113
export const SelectMenuItem : FC < MenuItemProps > = ( props ) => {
114
114
return (
115
- < MenuItem
116
- className = "text-sm gap-0 leading-none py-3 px-4"
117
- { ...props }
118
- >
115
+ < MenuItem className = "text-sm gap-0 leading-none py-3 px-4" { ...props } >
119
116
{ props . children }
120
- { props . selected && (
121
- < CheckIcon className = "size-icon-xs ml-auto" />
122
- ) }
117
+ { props . selected && < CheckIcon className = "size-icon-xs ml-auto" /> }
123
118
</ MenuItem >
124
119
) ;
125
120
} ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ interface SyntaxHighlighterProps {
10
10
value : string ;
11
11
language ?: string ;
12
12
editorProps ?: ComponentProps < typeof Editor > &
13
- ComponentProps < typeof DiffEditor > ;
13
+ ComponentProps < typeof DiffEditor > ;
14
14
compareWith ?: string ;
15
15
}
16
16
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ import type { FC, PropsWithChildren } from "react";
3
3
4
4
export const TableToolbar : FC < PropsWithChildren > = ( { children } ) => {
5
5
return (
6
- < div
7
- className = "text-sm mb-2 mt-0 h-9 text-content-secondary flex items-center [&_strong]:text-content-primary"
8
- >
6
+ < div className = "text-sm mb-2 mt-0 h-9 text-content-secondary flex items-center [&_strong]:text-content-primary" >
9
7
{ children }
10
8
</ div >
11
9
) ;
You can’t perform that action at this time.
0 commit comments