UNPKG

@grafana/ui

Version:
25 lines (24 loc) 693 B
import React from 'react'; import { DataFrame, CSVConfig } from '@grafana/data'; interface Props { config?: CSVConfig; text: string; width: string | number; height: string | number; onSeriesParsed: (data: DataFrame[], text: string) => void; } interface State { text: string; data: DataFrame[]; } /** * Expects the container div to have size set and will fill it 100% */ export declare class TableInputCSV extends React.PureComponent<Props, State> { constructor(props: Props); readCSV: any; componentDidUpdate(prevProps: Props, prevState: State): void; onTextChange: (event: any) => void; render(): JSX.Element; } export default TableInputCSV;