Skip to content

Commit c129511

Browse files
author
Greg B
authored
Update dialprops.md (#278)
adding dial example
1 parent 66eb7aa commit c129511

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

website/docs/api/interfaces/dialprops.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ title: "DialProps"
44
sidebar_label: "DialProps"
55
---
66

7+
The Dial provides ability to add and manipulate native dial slider widgets. It is based on
8+
[NodeGui's QDial](https://docs.nodegui.org/docs/api/generated/classes/qdial/).
9+
## Example
10+
```javascript
11+
import React from "react";
12+
import { Renderer, Dial, Window } from "@nodegui/react-nodegui";
13+
const App = () => {
14+
return (
15+
<Window>
16+
<Dial />
17+
</Window>
18+
);
19+
};
20+
Renderer.render(<App />);
21+
22+
```
23+
724
## Hierarchy
825

926
[ViewProps](viewprops.md)‹QDialSignals›

0 commit comments

Comments
 (0)