Skip to content

Commit 4861d4b

Browse files
committed
run biome oops
1 parent 4b2a7e3 commit 4861d4b

File tree

2 files changed

+26
-32
lines changed

2 files changed

+26
-32
lines changed

src/components/ui/card.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * as Card from './styled/card'
1+
export * as Card from "./styled/card";

src/components/ui/styled/card.tsx

+25-31
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,32 @@
1-
import { type Assign, type PolymorphicProps, ark } from '@ark-ui/solid'
2-
import type { ComponentProps } from 'solid-js'
3-
import { card } from 'styled-system/recipes'
4-
import type { HTMLStyledProps } from 'styled-system/types'
5-
import { createStyleContext } from './utils/create-style-context'
1+
import { type Assign, type PolymorphicProps, ark } from "@ark-ui/solid";
2+
import type { ComponentProps } from "solid-js";
3+
import { card } from "styled-system/recipes";
4+
import type { HTMLStyledProps } from "styled-system/types";
5+
import { createStyleContext } from "./utils/create-style-context";
66

7-
const { withProvider, withContext } = createStyleContext(card)
7+
const { withProvider, withContext } = createStyleContext(card);
88

9-
export type RootProps = ComponentProps<typeof Root>
10-
export const Root = withProvider<Assign<HTMLStyledProps<'div'>, PolymorphicProps<'div'>>>(
11-
ark.div,
12-
'root',
13-
)
9+
export type RootProps = ComponentProps<typeof Root>;
10+
export const Root = withProvider<
11+
Assign<HTMLStyledProps<"div">, PolymorphicProps<"div">>
12+
>(ark.div, "root");
1413

15-
export const Body = withContext<Assign<HTMLStyledProps<'div'>, PolymorphicProps<'div'>>>(
16-
ark.div,
17-
'body',
18-
)
14+
export const Body = withContext<
15+
Assign<HTMLStyledProps<"div">, PolymorphicProps<"div">>
16+
>(ark.div, "body");
1917

20-
export const Description = withContext<Assign<HTMLStyledProps<'div'>, PolymorphicProps<'div'>>>(
21-
ark.div,
22-
'description',
23-
)
18+
export const Description = withContext<
19+
Assign<HTMLStyledProps<"div">, PolymorphicProps<"div">>
20+
>(ark.div, "description");
2421

25-
export const Footer = withContext<Assign<HTMLStyledProps<'div'>, PolymorphicProps<'div'>>>(
26-
ark.div,
27-
'footer',
28-
)
22+
export const Footer = withContext<
23+
Assign<HTMLStyledProps<"div">, PolymorphicProps<"div">>
24+
>(ark.div, "footer");
2925

30-
export const Header = withContext<Assign<HTMLStyledProps<'div'>, PolymorphicProps<'div'>>>(
31-
ark.div,
32-
'header',
33-
)
26+
export const Header = withContext<
27+
Assign<HTMLStyledProps<"div">, PolymorphicProps<"div">>
28+
>(ark.div, "header");
3429

35-
export const Title = withContext<Assign<HTMLStyledProps<'h3'>, PolymorphicProps<'h3'>>>(
36-
ark.h3,
37-
'title',
38-
)
30+
export const Title = withContext<
31+
Assign<HTMLStyledProps<"h3">, PolymorphicProps<"h3">>
32+
>(ark.h3, "title");

0 commit comments

Comments
 (0)