Skip to content

Commit

Permalink
readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
obayomi96 committed Oct 11, 2023
1 parent e5eb658 commit 6821c10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ or add to your CSS file
### Example use case (Typescript)

```
- Import Column, { ReusableTable } from "rc-simple-table"
- import 'rc-simple-table/dist/styles.css' // required
Import Column, { ReusableTable } from "rc-simple-table"
import 'rc-simple-table/dist/styles.css' // required
<ReusableTable
tableColumns={TEST_COLUMNS}
Expand All @@ -48,7 +48,7 @@ or add to your CSS file

## COLUMN

You non need to import the `Column` for Typescript projects.
You only need to import `Column` for Typescript projects.

- `column` is used to mirrow your table head, describe how each table column data would be transformed and returned, it connects the table column to it's data using the `accessor` field which MUST collerate with the `key` for that field data, table columns should have the following properties; `Header`, `accessor` which are required, and an optional `Cell` field.

Expand Down

0 comments on commit 6821c10

Please sign in to comment.