mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #31870 from echmielewski/master
[react-bootstrap-table] Correct TableHeaderColumnProps.autovalue property
This commit is contained in:
+1
-1
@@ -1291,7 +1291,7 @@ export interface TableHeaderColumnProps extends Props<TableHeaderColumn> {
|
||||
* generated automatically after a row insertion. If a function given, you can customize the value by yourself and
|
||||
* remember to return the value for the cell from the function.
|
||||
*/
|
||||
autovalue?: boolean | (() => any);
|
||||
autoValue?: boolean | (() => any);
|
||||
/**
|
||||
* False to disable search functionality on column, default is true.
|
||||
*/
|
||||
|
||||
@@ -1222,7 +1222,7 @@ class HideOnInsertTable extends React.Component {
|
||||
};
|
||||
return (
|
||||
<BootstrapTable data={jobs} insertRow={true} options={options}>
|
||||
<TableHeaderColumn dataField='id' isKey={true} autovalue>Job ID</TableHeaderColumn>
|
||||
<TableHeaderColumn dataField='id' isKey={true} autoValue>Job ID</TableHeaderColumn>
|
||||
<TableHeaderColumn dataField='name' hiddenOnInsert>Job Name</TableHeaderColumn>
|
||||
<TableHeaderColumn dataField='type' editable={{ type: 'select', options: { values: jobTypes }, readOnly: true }}>Job Type</TableHeaderColumn>
|
||||
<TableHeaderColumn dataField='active' editable={{ type: 'checkbox', options: { values: 'Y:N' } }}>Active</TableHeaderColumn>
|
||||
|
||||
Reference in New Issue
Block a user