Skip to content

Instantly share code, notes, and snippets.

@nicokoelewijn
Last active January 3, 2019 14:52
Show Gist options
  • Select an option

  • Save nicokoelewijn/b0c11ba87bee25f2e931991c6798dc9e to your computer and use it in GitHub Desktop.

Select an option

Save nicokoelewijn/b0c11ba87bee25f2e931991c6798dc9e to your computer and use it in GitHub Desktop.

Revisions

  1. nicokoelewijn revised this gist Jan 3, 2019. No changes.
  2. nicokoelewijn revised this gist Jan 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion index.tsx
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    import React, { FunctionComponent } from 'react';
    import Styled$@ from './style';

    const PropsType = {};
    type PropsType = {};

    const $@: FunctionComponent<PropsType> = (props): JSX.Element => (
    <Styled$@>
  3. nicokoelewijn revised this gist Jan 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion index.tsx
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    import React, { FunctionComponent } from 'react';
    import Styled$@ from './style';

    PropsType = {};
    const PropsType = {};

    const $@: FunctionComponent<PropsType> = (props): JSX.Element => (
    <Styled$@>
  4. nicokoelewijn revised this gist Jan 3, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion index.tsx
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    import React, { FunctionComponent } from 'react';
    import Styled$@ from './style';

    const $@: FunctionComponent<RaisedPropsType> = (props): JSX.Element => (
    PropsType = {};

    const $@: FunctionComponent<PropsType> = (props): JSX.Element => (
    <Styled$@>
    {props.children}
    </Styled$@>
  5. nicokoelewijn revised this gist Jan 3, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions index.tsx
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    import React, { FunctionComponent } from 'react';
    import Styled$@ from './style';

    const $@: FunctionComponent<RaisedPropsType> = (props): JSX.Element => (
    <Styled$@>
  6. nicokoelewijn revised this gist Jan 3, 2019. 1 changed file with 7 additions and 16 deletions.
    23 changes: 7 additions & 16 deletions index.tsx
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,9 @@
    import React, { Component } from 'react';
    import styled, { StyledType } from '../../utility/styled';
    import React, { FunctionComponent } from 'react';

    type StateType = {
    focus: boolean;
    };
    const $@: FunctionComponent<RaisedPropsType> = (props): JSX.Element => (
    <Styled$@>
    {props.children}
    </Styled$@>
    );

    type PropsType = {
    value: string;
    };

    class $@ extends Component<PropsType, StateType> {
    public render(): JSX.Element {
    return <div>$@</div>
    }
    }
    export default $@;
    export { PropsType, StateType };
    export default $@;
  7. nicokoelewijn revised this gist Jan 3, 2019. No changes.
  8. nicokoelewijn revised this gist Sep 21, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions index.tsx
    Original file line number Diff line number Diff line change
    @@ -9,10 +9,10 @@ type PropsType = {
    value: string;
    };

    class "$@" extends Component<PropsType, StateType> {
    class $@ extends Component<PropsType, StateType> {
    public render(): JSX.Element {
    return <div> the "$@"</div>
    return <div>$@</div>
    }
    }
    export default "$@";
    export default $@;
    export { PropsType, StateType };
  9. nicokoelewijn revised this gist Sep 21, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion index.tsx
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ type PropsType = {

    class "$@" extends Component<PropsType, StateType> {
    public render(): JSX.Element {
    return <div>"$@"</div>
    return <div> the "$@"</div>
    }
    }
    export default "$@";
  10. nicokoelewijn created this gist Sep 21, 2018.
    18 changes: 18 additions & 0 deletions index.tsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    import React, { Component } from 'react';
    import styled, { StyledType } from '../../utility/styled';

    type StateType = {
    focus: boolean;
    };

    type PropsType = {
    value: string;
    };

    class "$@" extends Component<PropsType, StateType> {
    public render(): JSX.Element {
    return <div>"$@"</div>
    }
    }
    export default "$@";
    export { PropsType, StateType };