Skip to content

Commit 593af72

Browse files
committed
style: lint code
1 parent 257ba7c commit 593af72

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

playground/src/app/(demo)/progress/modules/Color.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const colors: ProgressProps['color'][] = [
1212
'accent'
1313
];
1414

15-
export const Color = () => {
15+
const Color = () => {
1616
return (
1717
<Card
1818
split
@@ -31,3 +31,5 @@ export const Color = () => {
3131
</Card>
3232
);
3333
};
34+
35+
export default Color;

playground/src/app/(demo)/progress/modules/Size.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const colors: ProgressProps['color'][] = [
1414
'accent'
1515
];
1616

17-
export const Size = () => {
17+
const Size = () => {
1818
return (
1919
<Card
2020
split
@@ -34,3 +34,5 @@ export const Size = () => {
3434
</Card>
3535
);
3636
};
37+
38+
export default Size;
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
import { Color } from './modules/Color';
2-
import { Size } from './modules/Size';
1+
import Color from './modules/Color';
2+
import Size from './modules/Size';
33

4-
export default function ProgressPage() {
4+
const ProgressPage = () => {
55
return (
66
<div className="flex-c gap-4">
77
<Color />
88

99
<Size />
1010
</div>
1111
);
12-
}
12+
};
13+
14+
export default ProgressPage;

playground/src/app/(demo)/resizable/modules/Default.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use client';
2+
13
import { CircleDashed } from 'lucide-react';
24
import { Card, ResizableHandle, ResizablePanel, ResizablePanelGroup } from 'soybean-react-ui';
35

0 commit comments

Comments
 (0)