Skip to content

Commit

Permalink
fix: lint & format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Jan 28, 2025
1 parent 30e577c commit 10c2cfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions library/src/icons/index.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
import type { ComponentProps, FC } from 'react';
import type { ComponentProps, FC } from "react";

export const Success: FC<ComponentProps<'svg'>> = (props) => (
export const Success: FC<ComponentProps<"svg">> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}>
<path d="M128 24a104 104 0 10104 104A104.11 104.11 0 00128 24zm45.66 85.66l-56 56a8 8 0 01-11.32 0l-24-24a8 8 0 0111.32-11.32L112 148.69l50.34-50.35a8 8 0 0111.32 11.32z"></path>
</svg>
);

export const Warning: FC<ComponentProps<'svg'>> = (props) => (
export const Warning: FC<ComponentProps<"svg">> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}>
<path d="M236.8 188.09L149.35 36.22a24.76 24.76 0 00-42.7 0L19.2 188.09a23.51 23.51 0 000 23.72A24.35 24.35 0 0040.55 224h174.9a24.35 24.35 0 0021.33-12.19 23.51 23.51 0 00.02-23.72zM120 104a8 8 0 0116 0v40a8 8 0 01-16 0zm8 88a12 12 0 1112-12 12 12 0 01-12 12z"></path>
</svg>
);

export const Error: FC<ComponentProps<'svg'>> = (props) => (
export const Error: FC<ComponentProps<"svg">> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}>
<path d="M128 24a104 104 0 10104 104A104.11 104.11 0 00128 24zm-8 56a8 8 0 0116 0v56a8 8 0 01-16 0zm8 104a12 12 0 1112-12 12 12 0 01-12 12z"></path>
</svg>
);

export const Info: FC<ComponentProps<'svg'>> = (props) => (
export const Info: FC<ComponentProps<"svg">> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}>
<path d="M128 24a104 104 0 10104 104A104.11 104.11 0 00128 24zm-4 48a12 12 0 11-12 12 12 12 0 0112-12zm12 112a16 16 0 01-16-16v-40a8 8 0 010-16 16 16 0 0116 16v40a8 8 0 010 16z"></path>
</svg>
);

export const Loading: FC<ComponentProps<'svg'>> = (props) => (
export const Loading: FC<ComponentProps<"svg">> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}>
<path d="M136 32v32a8 8 0 01-16 0V32a8 8 0 0116 0zm37.25 58.75a8 8 0 005.66-2.35l22.63-22.62a8 8 0 00-11.32-11.32L167.6 77.09a8 8 0 005.65 13.66zM224 120h-32a8 8 0 000 16h32a8 8 0 000-16zm-45.09 47.6a8 8 0 00-11.31 11.31l22.62 22.63a8 8 0 0011.32-11.32zM128 184a8 8 0 00-8 8v32a8 8 0 0016 0v-32a8 8 0 00-8-8zm-50.91-16.4l-22.63 22.62a8 8 0 0011.32 11.32l22.62-22.63a8 8 0 00-11.31-11.31zM72 128a8 8 0 00-8-8H32a8 8 0 000 16h32a8 8 0 008-8zm-6.22-73.54a8 8 0 00-11.32 11.32L77.09 88.4A8 8 0 0088.4 77.09z"></path>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/codeblock/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const CodeblockMDX = (props: PreProps) => {
</div>
<CopyToClipboardBtn content={rawstring} />
</div>
<pre className="overflow-x-auto rounded-t-none bg-transparent" {...props}>
<pre className="overflow-x-auto rounded-t-none bg-transparent">
{children}
</pre>
</div>
Expand Down

0 comments on commit 10c2cfe

Please sign in to comment.