Skip to content

Commit

Permalink
chore: sample dooboo vscode snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Sep 7, 2024
1 parent 863881f commit b721592
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .vscode/dooboo.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"monymony React Native Component": {
"prefix": "dooboo",
"body": [
"/**",
" * @name $1",
" *",
" * See the style guide: https://github.com/hyochan/style-guide/blob/main/docs/REACT.md",
" */",
"import styled from '@emotion/native';",
"import {View} from 'react-native';",
"",
"type Props = {}",
"",
"function $1({}: Props): JSX.Element {",
"",
" return (",
" <Container>",
" <View></View>",
" </Container>",
" )",
"}",
"",
"export default $1",
"",
"const Container = styled.View`",
" flex: 1;",
"`"
],
"description": "React Native Component"
}
}

0 comments on commit b721592

Please sign in to comment.