@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
64 lines (63 loc) • 1.43 kB
TypeScript
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
status: {
info: {};
warning: {};
warning_table: {};
success: {};
error: {};
};
variant: {
subtle: {
root: {
color: "alert.fg";
};
};
};
inline: {
true: {
root: {
alignItems: "flex-start";
};
content: {
display: "inline-flex";
flexDirection: "row";
alignItems: "center";
};
};
false: {
content: {
display: "flex";
flexDirection: "column";
};
};
};
size: {
sm: {
root: {
gap: "2";
px: "2";
py: "2";
textStyle: "xs";
};
indicator: {
boxSize: "5";
my: number;
};
content: {
minH: "5";
};
};
md: {
root: {
gap: "2";
px: "3";
py: "2";
textStyle: "md";
};
indicator: {
boxSize: "5";
my: "2px";
};
};
};
}>;