chore(ci): format astro with biome

This commit is contained in:
Darius Cepulis
2026-02-05 09:42:20 -06:00
parent aa189eec84
commit e3267fcfa6
6 changed files with 16 additions and 19 deletions
+2 -2
View File
@@ -18,10 +18,10 @@
* <!-- Always visible (no styles prop) -->
* <StyleCase>Universal content</StyleCase>
*/
import type { AnySupportedStyle } from "@/types/docs";
import type { AnySupportedStyle } from '@/types/docs';
interface Props {
styles?: AnySupportedStyle[];
styles?: AnySupportedStyle[];
}
const { styles } = Astro.props;
+7 -12
View File
@@ -1,19 +1,14 @@
---
import type { HTMLTag, Polymorphic } from "astro/types";
import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";
import type { HTMLTag, Polymorphic } from 'astro/types';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
type Props<Tag extends HTMLTag = "table"> = Polymorphic<{ as: Tag }> & {
maxWidth?: boolean;
class?: string;
type Props<Tag extends HTMLTag = 'table'> = Polymorphic<{ as: Tag }> & {
maxWidth?: boolean;
class?: string;
};
const {
as: Tag = "table",
maxWidth = true,
class: className,
...props
} = Astro.props;
const { as: Tag = 'table', maxWidth = true, class: className, ...props } = Astro.props;
---
<div class={clsx("my-12", maxWidth && "mx-auto max-w-3xl")}>