From 7df355fae873721830da96a831b4087869029cfa Mon Sep 17 00:00:00 2001 From: Jernej Pregelj Date: Wed, 23 Jan 2019 15:37:31 +0100 Subject: [PATCH] button to form --- src/pages/Publish.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/pages/Publish.tsx b/src/pages/Publish.tsx index 655f471..5129d0e 100644 --- a/src/pages/Publish.tsx +++ b/src/pages/Publish.tsx @@ -1,16 +1,13 @@ import React, { ChangeEvent, Component, FormEvent } from 'react' - -interface IProps { - -} +import Button from '../components/atoms/Button' interface IState { value?: string } -class Publish extends Component { +class Publish extends Component<{}, IState> { - state = { value: '' } + public state = { value: '' } public render() { return ( @@ -21,7 +18,7 @@ class Publish extends Component { Name: - + )