File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ [ ![ ActiveWidgets] ( http://www.activewidgets.com/include/logo/aw-logo-40.png?activewidgets/react )] ( http://www.activewidgets.com/ )
2+
3+ ## Get Started
4+
5+ A minimal example showing ActiveWidgets datagrid for React
6+
7+ ``` js
8+ import React from " react" ;
9+ import ReactDOM from " react-dom" ;
10+ import {Datagrid } from " @activewidgets/react" ;
11+ import {columns , rows } from " ./data.js"
12+ import " ./styles.css" ;
13+
14+ function App () {
15+ return (
16+ < Datagrid columns= {columns} rows= {rows} / >
17+ );
18+ }
19+
20+ const rootElement = document .getElementById (" root" );
21+ ReactDOM .render (< App / > , rootElement);
22+ ```
23+
24+ [ ![ Edit react-get-started] ( https://codesandbox.io/static/img/play-codesandbox.svg )] ( https://codesandbox.io/s/github/activewidgets/react/tree/master/examples/get-started )
Original file line number Diff line number Diff line change 11{
2- "name" : " @activewidgets/ react-get-started" ,
2+ "name" : " react-get-started" ,
33 "version" : " 1.0.0" ,
44 "description" : " " ,
55 "keywords" : [],
You can’t perform that action at this time.
0 commit comments