Skip to content

Commit

Permalink
fix(TableCell, TableRow): Rename props to cellType and rowType
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Aug 21, 2019
1 parent 4df5443 commit 2f9321d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions schema/TableCell.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ properties:
minimum: 0
maximum: 1000
default: 1
kind:
'@id': stencila:tableCellKind
description: Indicates whether the cell is a header.
cellType:
'@id': stencila:cellType
description: Indicates whether the cell is a header or data.
$comment: |
When `header`, the cell is similar to the HTML [`<th>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th)).
When `data`, the cell is similar to the HTML [`<td>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td)).
Expand Down
4 changes: 2 additions & 2 deletions schema/TableRow.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ properties:
type: array
items:
$ref: TableCell
kind:
'@id': stencila:tableRowKind
rowType:
'@id': stencila:rowType
description: |
If present, indicates that all cells in this row should be treated as header cells.
type: string
Expand Down

0 comments on commit 2f9321d

Please sign in to comment.