@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
26 lines (25 loc) • 670 B
TypeScript
import { Component } from 'react';
interface PickerControlProps {
states: {
label: string;
value: string;
}[];
activeState: string;
vertical: boolean;
isNullable: boolean;
onUpdate: (value: string) => void;
}
export declare class PickerControl extends Component<PickerControlProps> {
constructor(props: any);
static defaultProps: {
states: {
label: string;
value: string;
}[];
vertical: boolean;
isNullable: boolean;
};
render(): import('react').DOMElement<import('react').DOMAttributes<Element>, Element>;
onUpdate(value: any): () => void;
}
export {};