diff --git a/index.tsx b/index.tsx index 1836982..b1c77f5 100644 --- a/index.tsx +++ b/index.tsx @@ -1,3 +1,3 @@ -export * from './src/components/Table'; -export * from './src/components/Cell'; -export * from './src/components/Row'; \ No newline at end of file +export { default as Table, ColumnProps } from './src/components/Table'; +export { default as Cell } from './src/components/Cell'; +export { default as Row } from './src/components/Row'; \ No newline at end of file diff --git a/package.json b/package.json index 6615d14..c757410 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-awesome-table", - "version": "1.0.1", + "version": "1.0.2", "description": "React-Native Simple Data Tables", "homepage": "https://github.com/garrylachman/react-native-awesome-table", "keywords": ["react", "react-native", "react tables", "react-native tables", "data tables", "table"], @@ -15,14 +15,16 @@ "type": "git", "url": "https://github.com/garrylachman/react-native-awesome-table.git" }, - "dependencies": { + "peerDependencies": { + "react": "*", + "react-native": "*" + }, + "devDependencies": { "@types/react": "^17.0.9", "@types/react-native": "^0.64.8", "react": "^17.0.2", "react-native": "^0.64.1", - "react-native-web": "^0.16.3" - }, - "devDependencies": { + "react-native-web": "^0.16.3", "@storybook/addon-controls": "^6.2.9", "@storybook/addon-docs": "^6.2.9", "@storybook/addon-knobs": "^6.2.9",