@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
34 lines (33 loc) • 974 B
TypeScript
import { Component } from 'react';
import { ColumnDivision } from '../../context';
interface FaciesPickerProps {
interval: ColumnDivision;
onChange: (f: number) => void;
}
export declare class FaciesPicker extends Component<FaciesPickerProps> {
static contextType: import('react').Context<any>;
context: any;
render(): import('react').FunctionComponentElement<any>;
}
export declare const BasicFaciesSwatch: ({ facies: d, ...rest }: {
[x: string]: any;
facies: any;
}) => import('react').ReactElement<{
style: {
backgroundColor: any;
width: string;
height: string;
};
}, string | import('react').JSXElementConstructor<any>>;
interface FaciesSwatchProps {
isEditable: boolean;
facies: {
id: number;
color: string;
} | null;
}
export declare function FaciesSwatch(props: FaciesSwatchProps): import('react').FunctionComponentElement<{
[x: string]: any;
facies: any;
}>;
export {};