@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
13 lines (12 loc) • 363 B
TypeScript
import type { Ref } from 'react';
import type { FlexboxProps } from 'react-layout-kit';
export interface SnippetProps extends FlexboxProps {
children: string;
copyable?: boolean;
language?: string;
prefix?: string;
ref?: Ref<HTMLDivElement>;
shadow?: boolean;
spotlight?: boolean;
variant?: 'filled' | 'outlined' | 'borderless';
}