Code editor and widget

This commit is contained in:
2026-02-17 23:48:46 +00:00
parent d3f94e45ea
commit 030cf9fbd3
18 changed files with 871 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import type { CSSProperties, ComponentPropsWithoutRef } from 'react';
import type { CSSProperties, ComponentPropsWithRef } from 'react';
import { cn } from 'helpers/cn';
export const cardStyle = (overrides?: CSSProperties): CSSProperties => ({
@@ -11,7 +11,7 @@ export const cardStyle = (overrides?: CSSProperties): CSSProperties => ({
...overrides,
});
type CardProps = ComponentPropsWithoutRef<'div'>;
type CardProps = ComponentPropsWithRef<'div'>;
export const Card = ({ className, style, ...props }: CardProps) => {
return (