Skip to content

Instantly share code, notes, and snippets.

@JohnKim
Created October 23, 2017 08:34
Show Gist options
  • Save JohnKim/6ab22d7a8fe3b08a8a835e5c5152c0aa to your computer and use it in GitHub Desktop.
Save JohnKim/6ab22d7a8fe3b08a8a835e5c5152c0aa to your computer and use it in GitHub Desktop.
[React-sketchapp 강의] 가장 기본적인 코드
import { render, Text, Artboard } from 'react-sketchapp';
const App = props => (
<Artboard>
<Text style={{ fontFamily: 'Comic Sans MS', color: 'hotPink' }}>
{ props.message }
</Text>
</Artboard>
);
export default (context) => {
render(<App message="OKKY Conference 2017" />, context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment