2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ import {
12
12
useColorScheme ,
13
13
View ,
14
14
} from 'react-native' ;
15
- import { Skia , SkiaPictureView } from '@shopify/react-native-skia' ;
15
+ import { Skia } from '@shopify/react-native-skia' ;
16
16
17
17
import { Colors } from 'react-native/Libraries/NewAppScreen' ;
18
18
19
19
const recorder = Skia . PictureRecorder ( ) ;
20
20
const canvas = recorder . beginRecording ( Skia . XYWHRect ( 0 , 0 , 100 , 100 ) ) ;
21
21
canvas . clear ( Skia . Color ( 'green' ) ) ;
22
- const picture = recorder . finishRecordingAsPicture ( ) ;
22
+ // const picture = recorder.finishRecordingAsPicture();
23
23
24
24
function App ( ) : React . JSX . Element {
25
25
const isDarkMode = useColorScheme ( ) === 'dark' ;
@@ -36,7 +36,6 @@ function App(): React.JSX.Element {
36
36
backgroundColor = { backgroundStyle . backgroundColor }
37
37
/>
38
38
< ScrollView contentContainerStyle = { styles . scrollContent } >
39
- < SkiaPictureView picture = { picture } style = { styles . canvas } />
40
39
< View style = { styles . header } >
41
40
< Text style = { styles . title } > React Native Skia Examples</ Text >
42
41
</ View >
Original file line number Diff line number Diff line change 1
1
{
2
- "branches": ["main"],
2
+ "branches": [
3
+ "main",
4
+ {
5
+ "name": "next",
6
+ "prerelease": "next"
7
+ }
8
+ ],
3
9
"plugins": [
4
10
"@semantic-release/commit-analyzer",
5
11
"@semantic-release/release-notes-generator",
6
12
[
7
- "semantic-release-yarn",
8
- {
9
- "npmPublish": true
10
- }
11
- ],
12
- [
13
- "@semantic-release/github"
14
- ]
13
+ "semantic-release-yarn",
14
+ {
15
+ "npmPublish": true
16
+ }
17
+ ],
18
+ [
19
+ "@semantic-release/github"
20
+ ]
15
21
]
16
22
}
0 commit comments