9
9
import * as React from 'react' ;
10
10
11
11
interface TableProps {
12
-
13
12
/** An element type to render as (string or function). */
14
13
as ?: any ;
15
14
@@ -33,13 +32,13 @@ interface TableProps {
33
32
34
33
/** A table can be given a color to distinguish it from other tables. */
35
34
color ?: SemanticCOLORS ;
36
-
35
+
37
36
/** A table can specify its column count to divide its content evenly. */
38
37
columns ?: SemanticWIDTHSNUMBER | SemanticWIDTHSSTRING | number ;
39
-
38
+
40
39
/** A table may sometimes need to be more compact to make more rows visible at a time. */
41
40
compact ?: boolean | 'very' ;
42
-
41
+
43
42
/** A table may be formatted to emphasize a first column that defines a rows content. */
44
43
definition ?: boolean ;
45
44
@@ -65,22 +64,22 @@ interface TableProps {
65
64
* to be placed within Table.Body.
66
65
*/
67
66
renderBodyRow ?: ( ) => void ; // TODO - check;
68
-
67
+
69
68
/** A table can have its rows appear selectable. */
70
69
selectable ?: boolean ;
71
-
70
+
72
71
/** A table can specify that its cell contents should remain on a single line and not wrap. */
73
72
singleLine ?: boolean ;
74
-
73
+
75
74
/** A table can also be small or large. */
76
75
size ?: SemanticSIZES ;
77
-
76
+
78
77
/** A table can specify how it stacks table content responsively. */
79
78
stackable ?: boolean ;
80
79
81
80
/** A table can stripe alternate rows of content with a darker color to increase contrast. */
82
81
striped ?: boolean ;
83
-
82
+
84
83
/** A table can be formatted to display complex structured data. */
85
84
structured ?: boolean ;
86
85
@@ -103,7 +102,6 @@ interface TableClass extends React.ComponentClass<TableProps> {
103
102
export const Table : TableClass ;
104
103
105
104
interface TableBodyProps {
106
-
107
105
/** An element type to render as (string or function). */
108
106
as ?: any ;
109
107
@@ -150,10 +148,10 @@ interface TableCellProps {
150
148
151
149
/** A cell may let a user know whether a value is good. */
152
150
positive ?: boolean ;
153
-
151
+
154
152
/** A cell can be selectable. */
155
153
selectable ?: boolean ;
156
-
154
+
157
155
/** A cell can specify that its contents should remain on a single line and not wrap. */
158
156
singleLine ?: boolean ;
159
157
@@ -173,15 +171,13 @@ interface TableCellProps {
173
171
export const TableCell : React . ComponentClass < TableCellProps > ;
174
172
175
173
interface TableFooterProps {
176
-
177
174
/** An element type to render as (string or function). */
178
175
as ?: any ;
179
176
}
180
177
181
178
export const TableFooter : React . ComponentClass < TableFooterProps > ;
182
179
183
180
interface TableHeaderProps {
184
-
185
181
/** An element type to render as (string or function). */
186
182
as ?: any ;
187
183
@@ -198,7 +194,6 @@ interface TableHeaderProps {
198
194
export const TableHeader : React . ComponentClass < TableHeaderProps > ;
199
195
200
196
interface TableHeaderCellProps {
201
-
202
197
/** An element type to render as (string or function). */
203
198
as ?: any ;
204
199
}
0 commit comments