Skip to content

Commit

Permalink
exports
Browse files Browse the repository at this point in the history
  • Loading branch information
garrylachman committed Jun 10, 2021
1 parent 261d16f commit 977855c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './src/components/Table';
export * from './src/components/Cell';
export * from './src/components/Row';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-native-awesome-table",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "index.tsx",
"scripts": {
"storybook": "start-storybook",
"build-storybook": "build-storybook -o ./docs"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type GetCellProp = {
getCell?: ({data, rowIndex, columnIndex}:CellContentProps) => React.ReactElement
}

type ColumnProps = {
export type ColumnProps = {
flex: number,
title: string,
dataKey: string,
Expand Down

0 comments on commit 977855c

Please sign in to comment.