Skip to content

Commit 9ca82c9

Browse files
committed
🎨 Format
1 parent 4cface7 commit 9ca82c9

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ declare module '@eliancodes/brutal-ui' {
33
href: string;
44
target?: '_blank' | '_self';
55
color?: string;
6-
}
6+
};
77

88
export function Button(props: ButtonProps): any;
99

1010
type DefaultColorProps = {
1111
color?: string;
12-
}
12+
};
1313

1414
export function Card(props: DefaultColorProps): any;
1515
export function Pill(props: DefaultColorProps): any;
16-
}
16+
}

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export { default as Button } from './src/components/Button.astro';
22
export { default as Card } from './src/components/Card.astro';
3-
export { default as Pill } from './src/components/Pill.astro';
3+
export { default as Pill } from './src/components/Pill.astro';

src/components/Card.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ const { color } = Astro.props;
2828
}
2929
</style>
3030

31-
<div class="brutal-card">
31+
<div class='brutal-card'>
3232
<slot />
3333
</div>

src/components/Pill.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ const { color } = Astro.props;
3232
}
3333
</style>
3434

35-
<span
36-
class="brutal-pill"
37-
>
35+
<span class='brutal-pill'>
3836
<slot />
3937
</span>

0 commit comments

Comments
 (0)