@0xsplits/splits-kit
Version:
UI Components for working with 0xSplits contracts
19 lines (18 loc) • 668 B
TypeScript
interface IComponentLayout {
title?: string | JSX.Element;
count?: string | JSX.Element | false;
titleButton?: JSX.Element;
body: JSX.Element;
tooltip?: string | JSX.Element;
corner?: string | JSX.Element | false;
showTooltipOnContentHover?: boolean;
error?: {
title: string | JSX.Element;
body: string | JSX.Element;
} | false;
chainId?: number;
width?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
theme?: 'light' | 'dark' | 'system';
}
declare const ComponentLayout: ({ title, titleButton, body, corner, error, chainId, width, theme, }: IComponentLayout) => JSX.Element;
export default ComponentLayout;