const [tableModel, setTableModel] = React.useState<Itable>(
{
columnList: [
{
index: Math.random(),
ColumnName: "",
DataType: "",
ColumnUnique: "",
ForeignKey: "",
EncryptedYn: ""
},
],
schemaName: "",
tableName: ""
}
)
I want to update the state for schemaName and tableName alone in one function and in another, I have to update the state for the column list. please help