Skip to content

Commit e7e0a9a

Browse files
authored
Added stylesheet import
1 parent 0d2a91d commit e7e0a9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export default Button;
6363

6464
>Button.component.style.js
6565
```js
66+
import { StyleSheet } from 'react-native';
67+
6668
export default StyleSheet.create({
6769
container: {
6870
padding: 10,

0 commit comments

Comments
 (0)