Last active
May 18, 2018 07:09
-
-
Save Swiip/f060a655881c0e1d7e63c47e19092c94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { component, css, html, withState, withStyle, withMarkup } from "MyIdealFramework"; | |
const MyComponent = component( | |
withState(() => ({content: "hello world"})), | |
withStyle(props => css`color: red;`), | |
withMarkup(props => html`<div>${props.content}</div>`) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment