@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
23 lines (22 loc) • 991 B
TypeScript
import { SVGAttributes, RefObject } from 'react';
import { Padding, Margin } from '@macrostrat/ui-components';
declare const SVGNamespaces: {
xmlns: string;
xmlnsXlink: string;
};
interface SVGProps extends SVGAttributes<any>, Padding, Margin {
innerHeight?: number;
innerWidth?: number;
innerRef?: RefObject<SVGElement>;
}
interface SVGPropsWithNumericSize extends Omit<SVGProps, "width" | "height"> {
width?: number;
height?: number;
}
declare const SVG: import('react').ForwardRefExoticComponent<SVGPropsWithNumericSize & import('react').RefAttributes<SVGElement>>;
declare const ForeignObject: (props: any) => import('react').ReactSVGElement;
declare const ColumnSVG: (props: SVGPropsWithNumericSize) => import('react').FunctionComponentElement<SVGPropsWithNumericSize & import('react').RefAttributes<SVGElement>>;
export { SVGNamespaces, SVG, ColumnSVG, ForeignObject };
export * from './storage';
export * from './column-box';
export * from './scroll-box';