Code editor and widget
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user