Skip to content

Commit bc765cd

Browse files
author
Robbie Nohra
authored
chore: update README.md to emphasize the importance of importing styles (#260)
* initial draft of README me message to emphasize importance of included styles.css file * remove accidentally added characters * repositioned style message in code snippet * fix: remove extraneous whitespace and use more relevant advanced styling link
1 parent fd1fb9b commit bc765cd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ yarn add react-base-table
2222
```js
2323
import BaseTable, { Column } from 'react-base-table'
2424
import 'react-base-table/styles.css'
25-
26-
...
25+
// Important: if you fail to import react-base-table/styles.css then
26+
// BaseTable will not render as advertised in the included examples.
27+
// For advanced styling see link below:
28+
// https://github.com/Autodesk/react-base-table#advance
29+
...
2730
<BaseTable data={data} width={600} height={400}>
2831
<Column key="col0" dataKey="col0" width={100} />
2932
<Column key="col1" dataKey="col1" width={100} />

0 commit comments

Comments
 (0)