@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
28 lines (27 loc) • 945 B
TypeScript
import { Component } from 'react';
type FaciesData = any;
export declare function FaciesCard({ facies }: {
facies: any;
}): import('react').DOMElement<import('react').DOMAttributes<Element>, Element>;
interface FaciesDescriptionSmallProps {
selected: string;
onClick: (d: any) => void;
isEditable: boolean;
}
export declare class FaciesDescriptionSmall extends Component<FaciesDescriptionSmallProps> {
constructor(props: FaciesDescriptionSmallProps);
static contextType: import('react').Context<any>;
static defaultProps: {
selected: null;
isEditable: boolean;
};
context: any;
renderEach(d: FaciesData): import('react').ReactElement<{
key: any;
onClick: null;
style: any;
className: string;
}, string | import('react').JSXElementConstructor<any>>;
render(): import('react').DOMElement<import('react').DOMAttributes<Element>, Element>;
}
export {};