diff --git a/components/grid/demo/playground.md b/components/grid/demo/playground.md index df0663a90f..d6a3dd7786 100644 --- a/components/grid/demo/playground.md +++ b/components/grid/demo/playground.md @@ -26,7 +26,7 @@ class App extends React.Component { colCountKey: 2, }; [8, 16, 24, 32, 40, 48].forEach((value, i) => { this.gutters[i] = value; }); - [2, 3, 4, 6, 8, 12, 24].forEach((value, i) => { this.colCounts[i] = value; }); + [2, 3, 4, 6, 8, 12].forEach((value, i) => { this.colCounts[i] = value; }); } onGutterChange = (gutterKey) => { this.setState({ gutterKey }); @@ -38,12 +38,14 @@ class App extends React.Component { const { gutterKey, colCountKey } = this.state; const cols = []; const colCount = this.colCounts[colCountKey]; + let colCode = ''; for (let i = 0; i < colCount; i++) { cols.push(
{`); } @@ -91,4 +94,10 @@ ReactDOM.render(\n${colCode}
`}