Merge pull request #12 from ThomasRubini/view-clip

View clip
This commit is contained in:
Djalim Simaila 2023-04-07 18:53:07 +02:00 committed by GitHub
commit a3f1fe3e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

17
src/clip/ClipView.tsx Normal file
View File

@ -0,0 +1,17 @@
import React from 'react';
import { ScrollView, Text } from 'react-native';
import ClipList from './ClipList';
export default class ClipView extends React.Component<any, any> {
constructor(props: any) {
super(props);
}
render(): JSX.Element {
return <ScrollView>
<Text style={{fontWeight:'bold',fontSize:30, margin:20}}>Local Clipboard</Text>
<ClipList clips={[{"title":"abcd"}, {"title": "j'aime manger mon caca"}]} />
</ScrollView>;
}
}