/* @flow */
type Props = { foo: string };
const View = ({ foo }: Props) => <div>{ foo }</div>;
// Consumer renders View
<View foo='bar' />
Created
August 2, 2017 01:53
-
-
Save choonkending/37afe9f834ca22828e301a7ae0934d39 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment