leva-r3f-stats
Version:
A small plugin to display React Three Fiber stats in Leva
82 lines • 2.08 kB
TypeScript
import { CSSProperties } from 'react';
export declare const styles: {
statsContainer: (columns: number, fontSize: number) => CSSProperties;
statsCompactWrapper: (columns: number, fontSize: number) => CSSProperties;
graphGridContainer: (columns: number) => CSSProperties;
statItem: {
minWidth: number;
fontFamily: string;
border: string;
borderRadius: string;
display: string;
flexDirection: "column";
padding: string;
};
statItemCompact: {
display: string;
alignItems: string;
gap: string;
overflow: string;
};
graphItemContainer: {
padding: string;
overflow: string;
fontFamily: string;
border: string;
borderRadius: string;
};
statLabel: {
fontSize: string;
opacity: number;
color: string;
marginBottom: string;
whiteSpace: "nowrap";
overflow: string;
textOverflow: string;
};
statLabelCompact: {
opacity: number;
color: string;
fontWeight: "normal";
whiteSpace: "nowrap";
fontSize: string;
};
statValue: {
fontSize: string;
fontWeight: "bold";
fontFamily: string;
display: string;
alignItems: string;
gap: string;
};
statValueCompact: {
fontWeight: "bold";
fontFamily: string;
whiteSpace: "nowrap";
overflow: string;
textOverflow: string;
maxWidth: string;
fontSize: string;
};
labelSuffix: {
fontSize: string;
opacity: number;
marginLeft: string;
letterSpacing: string;
fontWeight: "normal";
whiteSpace: "nowrap";
};
minMaxValue: {
fontSize: string;
letterSpacing: string;
marginLeft: string;
opacity: number;
fontWeight: "normal";
whiteSpace: "nowrap";
};
canvas: {
display: string;
width: string;
};
};
//# sourceMappingURL=styled.d.ts.map