import React, { useState } from 'react' import { IDict } from '../common' import * as helpers from '../helpers' export interface ISchemaFieldProps { column: IDict metadata: IDict removeField: any updateField: any } export function SchemaField(props: ISchemaFieldProps) { const types = helpers.getFieldTypes() const formats = helpers.getFieldFormats(props.column.field.type) const [isDetails, setIsDetails] = useState(false) return (
| {props.column.field.name} |
|---|
| {value} |