@nivo/legends
Version:
legend components for nivo dataviz library
25 lines • 1.49 kB
TypeScript
import { BoxLegendSvgProps, ContinuousColorsLegendProps } from './types';
export declare const legendDefaults: {
translateX: NonNullable<BoxLegendSvgProps['translateX']>;
translateY: NonNullable<BoxLegendSvgProps['translateY']>;
padding: NonNullable<BoxLegendSvgProps['padding']>;
itemsSpacing: NonNullable<BoxLegendSvgProps['itemsSpacing']>;
itemDirection: NonNullable<BoxLegendSvgProps['itemDirection']>;
justify: NonNullable<BoxLegendSvgProps['justify']>;
symbolShape: NonNullable<BoxLegendSvgProps['symbolShape']>;
symbolSize: NonNullable<BoxLegendSvgProps['symbolSize']>;
symbolSpacing: NonNullable<BoxLegendSvgProps['symbolSpacing']>;
};
export declare const continuousColorsLegendDefaults: {
length: NonNullable<ContinuousColorsLegendProps['length']>;
thickness: NonNullable<ContinuousColorsLegendProps['thickness']>;
direction: NonNullable<ContinuousColorsLegendProps['direction']>;
tickPosition: NonNullable<ContinuousColorsLegendProps['tickPosition']>;
tickSize: NonNullable<ContinuousColorsLegendProps['tickSize']>;
tickSpacing: NonNullable<ContinuousColorsLegendProps['tickSpacing']>;
tickOverlap: NonNullable<ContinuousColorsLegendProps['tickOverlap']>;
tickFormat: NonNullable<ContinuousColorsLegendProps['tickFormat']>;
titleAlign: NonNullable<ContinuousColorsLegendProps['titleAlign']>;
titleOffset: NonNullable<ContinuousColorsLegendProps['titleOffset']>;
};
//# sourceMappingURL=defaults.d.ts.map