Skip to content

Commit 996efeb

Browse files
committed
feat(ts): export interface THEME_APPEARANCE
1 parent ea4a9a8 commit 996efeb

4 files changed

Lines changed: 170 additions & 229 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All notable changes to this project will be documented in this file. See [standa
66

77
### ⚠ BREAKING CHANGES
88

9-
- Default apperance is derived by the system settings.
9+
- Default apperance is derived by the system settings. `TableView` depends on `useColorScheme` released with React-Native `0.62.0`
1010

1111
### Features
1212

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
],
6565
"peerDependencies": {
6666
"react": "*",
67-
"react-native": "^0.59"
67+
"react-native": "^0.62"
6868
},
6969
"bugs": {
7070
"url": "https://github.com/Purii/react-native-tableview-simple/issues"
@@ -74,27 +74,27 @@
7474
"url": "git@github.com:Purii/react-native-tableview-simple.git"
7575
},
7676
"devDependencies": {
77-
"@commitlint/cli": "^8.3.5",
78-
"@commitlint/config-conventional": "^8.3.4",
77+
"@commitlint/cli": "^9.0.1",
78+
"@commitlint/config-conventional": "^9.0.1",
7979
"@react-native-community/eslint-config": "^2.0.0",
8080
"@types/jest": "^26.0.0",
81-
"@types/react": "^16.9.35",
82-
"@types/react-native": "^0.62.11",
81+
"@types/react": "^16.9.38",
82+
"@types/react-native": "^0.62.13",
8383
"@types/react-test-renderer": "^16.9.2",
84-
"@typescript-eslint/eslint-plugin": "^3.0.0",
85-
"@typescript-eslint/parser": "^3.0.0",
84+
"@typescript-eslint/eslint-plugin": "^3.3.0",
85+
"@typescript-eslint/parser": "^3.3.0",
8686
"babel-jest": "26.0.1",
8787
"babel-preset-react-native": "4.0.1",
88-
"eslint": "^7.1.0",
88+
"eslint": "^7.3.0",
8989
"eslint-config-prettier": "^6.11.0",
9090
"husky": "^4.2.5",
9191
"jest": "26.0.1",
92-
"lint-staged": "^10.2.6",
92+
"lint-staged": "^10.2.11",
9393
"react": "16.13.1",
9494
"react-native": "^0.62.2",
9595
"react-test-renderer": "16.13.1",
9696
"rimraf": "^3.0.2",
9797
"standard-version": "^8.0.0",
98-
"typescript": "^3.7.3"
98+
"typescript": "^3.9.5"
9999
}
100100
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ export { default as Cell } from './components/Cell';
55
export { default as Section } from './components/Section';
66
export { default as Separator } from './components/Separator';
77
export { default as TableView } from './components/TableView';
8-
export * as Theme from './components/Theme';
8+
export {THEME_APPEARANCE} from './components/Theme';

0 commit comments

Comments
 (0)