Skip to content

Commit

Permalink
Merge pull request #2847 from peicuiping/dev
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
T4rk1n authored May 6, 2024
2 parents 28ce986 + f60a333 commit ba5e2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default class Tabs extends Component {
parseChildrenToArray() {
if (this.props.children && !is(Array, this.props.children)) {
// if dcc.Tabs.children contains just one single element, it gets passed as an object
// instead of an array - so we put in in a array ourselves!
// instead of an array - so we put it in an array ourselves!
return [this.props.children];
}
return this.props.children;
Expand Down
4 changes: 2 additions & 2 deletions components/dash-table/src/dash-table/dash/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ export const propTypes = {
/**
* Denotes the format of the headers in the export data file.
* If `'none'`, there will be no header. If `'display'`, then the header
* of the data file will be be how it is currently displayed. Note that
* of the data file will be how it is currently displayed. Note that
* `'display'` is only supported for `'xlsx'` export_format and will behave
* like `'names'` for `'csv'` export format. If `'ids'` or `'names'`,
* then the headers of data file will be the column id or the column
Expand Down Expand Up @@ -802,7 +802,7 @@ export const propTypes = {
* If `'native'`, then the sorting UI is displayed and the sorting
* logic is handled by the table. That is, it is performed on the data
* that exists in the `data` property.
* If `'custom'`, the the sorting UI is displayed but it is the
* If `'custom'`, the sorting UI is displayed but it is the
* responsibility of the developer to program the sorting
* through a callback (where `sort_by` would be the input and `data`
* would be the output).
Expand Down

0 comments on commit ba5e2ab

Please sign in to comment.