Skip to content

Commit 2efc3c1

Browse files
committed
make table data optional
1 parent deed896 commit 2efc3c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/collections/Table/Table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class Table extends Component {
1919
}
2020
},
2121
className: PropTypes.string,
22-
data: PropTypes.array.isRequired,
22+
data: PropTypes.array,
2323
};
2424

2525
static getSafeCellContents(content) {

test/specs/Conformance-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const getSDClassName = componentName => `sd-${_.kebabCase(componentName)}`;
1212
*/
1313
describe('Conformance', () => {
1414
/* eslint-disable no-console */
15-
console.info('Conformance-test renders all components with no props, warnings may occur.');
15+
console.info('Conformance-test renders each component with no props, required prop warnings may occur.');
1616
/* eslint-enable no-console */
1717
_.each(stardust, (SDComponent, name) => {
1818
const classes = faker.fake('{{hacker.noun}} {{hacker.noun}} {{hacker.noun}}');

0 commit comments

Comments
 (0)