Files
NapCatQQ/.pnpm-store/v3/files/de/da3b2526f992a67718b1d42880fc50ce6ba2c34ee26648b335c402b9ec92d140fcba430612402ceb5676b54e156bdeadd9ebf911e404dd6f08fa9b035fb4ef
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

166 lines
3.7 KiB
Plaintext

import * as tailwind_variants from 'tailwind-variants';
import { VariantProps } from 'tailwind-variants';
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
/**
* Code wrapper **Tailwind Variants** component
*
* const classNames = code({...})
*
* @example
* <code className={classNames)}>
* npm install @heroui/react
* </code>
*/
declare const code: tailwind_variants.TVReturnType<{
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}, {
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}>, {
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}, undefined, tailwind_variants.TVReturnType<{
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}, {
color: {
default: string;
primary: string;
secondary: string;
success: string;
warning: string;
danger: string;
};
size: {
sm: "text-small";
md: "text-medium";
lg: "text-large";
};
radius: {
none: "rounded-none";
sm: "rounded-small";
md: "rounded-medium";
lg: "rounded-large";
full: "rounded-full";
};
}>, unknown, unknown, undefined>>;
type CodeVariantProps = VariantProps<typeof code>;
export { CodeVariantProps, code };