Skip to content

Commit a9200a7

Browse files
authored
Export GridRow and GridColumn to match layout guide. (#318)
* Add missing comma * Make GridRow and GridColumn accessible
1 parent 3e2b0a9 commit a9200a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
export { Action } from "./components/Action";
22
export { BoxView } from "./components/BoxView";
33
export { GridView } from "./components/GridView";
4+
export { GridRow } from "./components/GridView/GridRow";
5+
export { GridColumn } from "./components/GridView/GridColumn";
46
export { Slider } from "./components/Slider";
57
export { View } from "./components/View";
68
export { Window } from "./components/Window";

website/docs/guides/layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ GridView Layout is an implementation of QGridLayout of NodeGui.
166166

167167
```jsx
168168
import React, { useState } from "react";
169-
import { Renderer, GridView, GridRow, GridColumn Text, Window, View, Button, useEventHandler } from "@nodegui/react-nodegui";
169+
import { Renderer, GridView, GridRow, GridColumn, Text, Window, View, Button, useEventHandler } from "@nodegui/react-nodegui";
170170
import { QPushButtonSignals } from "@nodegui/nodegui";
171171

172172
const App = () => {

0 commit comments

Comments
 (0)