Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit feb03df

Browse files
authored
Added stylesheet import in all examples
1 parent e7e0a9a commit feb03df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎8-styling/8.3-separating-styles-from-component.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ export default Button;
109109
>Button.component.style.ios.js
110110
111111
```js
112+
import { StyleSheet } from 'react-native';
113+
112114
export default StyleSheet.create({
113115
container: {
114116
padding: 10,
@@ -127,6 +129,8 @@ export default StyleSheet.create({
127129
>Button.component.style.android.js
128130
129131
```js
132+
import { StyleSheet } from 'react-native';
133+
130134
export default StyleSheet.create({
131135
container: {
132136
padding: 10,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /