Skip to content

Commit

Permalink
docs: fix component types in Scheduler and Grid (#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
AryamnovEugeniy authored Sep 23, 2019
1 parent 50433da commit 61f6ba6
Show file tree
Hide file tree
Showing 11 changed files with 122 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ export namespace TableBandHeader {
export const TableBandHeader: React.ComponentType<TableBandHeaderProps> & {
ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<React.ComponentType<Table_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Cell: React.ComponentType<Table_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down Expand Up @@ -644,16 +644,16 @@ export const TableSummaryRow: React.ComponentType<TableSummaryRowProps> & {
TOTAL_ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<React.ComponentType<TableSummaryRow_2.ContentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<React.ComponentType<TableSummaryRow_2.IndentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<React.ComponentType<object> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<TableSummaryRow_2.ContentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<TableSummaryRow_2.IndentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<object & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ export namespace TableBandHeader {
export const TableBandHeader: React.ComponentType<TableBandHeaderProps> & {
ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<React.ComponentType<Table_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Cell: React.ComponentType<Table_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down Expand Up @@ -644,16 +644,16 @@ export const TableSummaryRow: React.ComponentType<TableSummaryRowProps> & {
TOTAL_ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<React.ComponentType<TableSummaryRow_2.ContentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<React.ComponentType<TableSummaryRow_2.IndentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<React.ComponentType<object> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<TableSummaryRow_2.ContentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<TableSummaryRow_2.IndentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<object & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ export namespace TableBandHeader {
export const TableBandHeader: React.ComponentType<TableBandHeaderProps> & {
ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<React.ComponentType<Table_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Cell: React.ComponentType<Table_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Row: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down Expand Up @@ -644,16 +644,16 @@ export const TableSummaryRow: React.ComponentType<TableSummaryRowProps> & {
TOTAL_ROW_TYPE: symbol;
} & {
Cell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<React.ComponentType<Table_2.RowProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<React.ComponentType<TableSummaryRow_2.CellProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<React.ComponentType<TableSummaryRow_2.ContentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<React.ComponentType<TableSummaryRow_2.IndentProps> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<React.ComponentType<object> & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeRow: React.ComponentType<Table_2.RowProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TotalCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
GroupCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnCell: React.ComponentType<TableSummaryRow_2.CellProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnContent: React.ComponentType<TableSummaryRow_2.ContentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
TreeColumnIndent: React.ComponentType<TableSummaryRow_2.IndentProps & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
Item: React.ComponentType<object & { className?: string; style?: React.CSSProperties; [x: string]: any }>;
};

// @public (undocumented)
Expand Down
4 changes: 2 additions & 2 deletions packages/dx-react-grid/docs/reference/table-band-header.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ children? | Array&lt;[TableBandHeader.ColumnBands](#tablebandheadercolumnbands)&

Name | Properties | Description
-----|------------|------------
TableBandHeader.Cell | ComponentType&lt;[Table.CellProps](table.md#tablecellprops)&gt; | A component that renders a band cell.
TableBandHeader.Row | ComponentType&lt;[Table.RowProps](table.md#tablerowprops)&gt; | A component that renders a band cells' row.
TableBandHeader.Cell | [Table.CellProps](table.md#tablecellprops) | A component that renders a band cell.
TableBandHeader.Row | [Table.RowProps](table.md#tablerowprops) | A component that renders a band cells' row.

Additional properties are added to the component's root element.

Expand Down
20 changes: 10 additions & 10 deletions packages/dx-react-grid/docs/reference/table-summary-row.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,16 @@ avg? | string | 'Avg' | Specifies the average type text.
Name | Properties | Description
-----|------------|------------
TableSummaryRow.Cell | [TableSummaryRow.CellProps](#tablesummaryrowcellprops) | A component that renders a cell within a data row.
TableSummaryRow.TotalRow | ComponentType&lt;[Table.RowProps](table.md#tablerowprops)&gt; | A component that renders the total summary row.
TableSummaryRow.GroupRow | ComponentType&lt;[Table.RowProps](table.md#tablerowprops)&gt; | A component that renders a group summary row.
TableSummaryRow.TreeRow | ComponentType&lt;[Table.RowProps](table.md#tablerowprops)&gt; | A component that renders a tree summary row.
TableSummaryRow.TotalCell | ComponentType&lt;[TableSummaryRow.CellProps](#tablesummaryrowcellprops)&gt; | A component that renders a total summary cell.
TableSummaryRow.GroupCell | ComponentType&lt;[TableSummaryRow.CellProps](#tablesummaryrowcellprops)&gt; | A component that renders a group summary cell.
TableSummaryRow.TreeCell | ComponentType&lt;[TableSummaryRow.CellProps](#tablesummaryrowcellprops)&gt; | A component that renders a tree summary cell.
TableSummaryRow.TreeColumnCell | ComponentType&lt;[TableSummaryRow.CellProps](#tablesummaryrowcellprops)&gt; | A component that renders a summary cell within a tree column.
TableSummaryRow.TreeColumnContent | ComponentType&lt;[TableSummaryRow.ContentProps](#tablesummaryrowcontentprops)&gt; | A component that renders a summary cell's content within a tree column.
TableSummaryRow.TreeColumnIndent | ComponentType&lt;[TableSummaryRow.IndentProps](#tablesummaryrowindentprops)&gt; | A component that renders an indent used to identify a tree row's level in a tree column.
TableSummaryRow.Item | ComponentType&lt;object&gt; | A component that renders a summary item.
TableSummaryRow.TotalRow | [Table.RowProps](table.md#tablerowprops) | A component that renders the total summary row.
TableSummaryRow.GroupRow | [Table.RowProps](table.md#tablerowprops) | A component that renders a group summary row.
TableSummaryRow.TreeRow | [Table.RowProps](table.md#tablerowprops) | A component that renders a tree summary row.
TableSummaryRow.TotalCell | [TableSummaryRow.CellProps](#tablesummaryrowcellprops) | A component that renders a total summary cell.
TableSummaryRow.GroupCell | [TableSummaryRow.CellProps](#tablesummaryrowcellprops) | A component that renders a group summary cell.
TableSummaryRow.TreeCell | [TableSummaryRow.CellProps](#tablesummaryrowcellprops) | A component that renders a tree summary cell.
TableSummaryRow.TreeColumnCell | [TableSummaryRow.CellProps](#tablesummaryrowcellprops) | A component that renders a summary cell within a tree column.
TableSummaryRow.TreeColumnContent | [TableSummaryRow.ContentProps](#tablesummaryrowcontentprops) | A component that renders a summary cell's content within a tree column.
TableSummaryRow.TreeColumnIndent | [TableSummaryRow.IndentProps](#tablesummaryrowindentprops) | A component that renders an indent used to identify a tree row's level in a tree column.
TableSummaryRow.Item | object | A component that renders a summary item.

Additional properties are added to the component's root element.

Expand Down
Loading

0 comments on commit 61f6ba6

Please sign in to comment.