@fuxui/base
Version:
ui kit - svelte 5 + tailwind 4 - base components
36 lines (35 loc) • 1.32 kB
TypeScript
import type { WithElementRef } from 'bits-ui';
import type { HTMLAttributes } from 'svelte/elements';
import { type VariantProps } from 'tailwind-variants';
export declare const proseVariants: import("tailwind-variants").TVReturnType<{
size: {
default: string;
md: string;
lg: string;
xl: string;
'2xl': string;
};
}, undefined, "prose dark:prose-invert prose-a:no-underline prose-a:text-accent-600 dark:prose-a:text-accent-400 prose-pre:rounded-2xl w-full max-w-none", {
size: {
default: string;
md: string;
lg: string;
xl: string;
'2xl': string;
};
}, undefined, import("tailwind-variants").TVReturnType<{
size: {
default: string;
md: string;
lg: string;
xl: string;
'2xl': string;
};
}, undefined, "prose dark:prose-invert prose-a:no-underline prose-a:text-accent-600 dark:prose-a:text-accent-400 prose-pre:rounded-2xl w-full max-w-none", unknown, unknown, undefined>>;
export type ProseSize = VariantProps<typeof proseVariants>['size'];
export type ProseProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
size?: ProseSize;
};
declare const Prose: import("svelte").Component<ProseProps, {}, "ref">;
type Prose = ReturnType<typeof Prose>;
export default Prose;