Skip to content

Commit 50bd4c3

Browse files
committed
Update README.md
1 parent 8652918 commit 50bd4c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ import { ThemeProvider, useStyle, useTheme } from './theme'
7373
const ComponentWithUseStyle: React.FC = () => {
7474
const styles = useStyle((theme, options) => {
7575
text: {
76-
color: options.disabled ? '#C9C9C9' : theme.textColor,
76+
color: theme.textColor,
7777
fontSize: theme.fontSize
7878
}
79-
}, { disabled: true }) // Options is optional
79+
}
8080

8181
return (
8282
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-themed-stylesheet",
3-
"version": "0.2.8",
3+
"version": "0.2.9",
44
"description": "React Native StyleSheets with Theming Support",
55
"author": "Andre Pedroza",
66
"license": "MIT",

0 commit comments

Comments
 (0)