Skip to content

Commit

Permalink
feat(/form/ButtonInput): button that should be used along side inputs
Browse files Browse the repository at this point in the history
Specifically for buttons needed that live on the same row as inputs. Not to be used for submit buttons! We should use our normal `/chrome/Button` for that.
  • Loading branch information
ramfox committed Jul 26, 2019
1 parent d51e263 commit c1f5d56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/components/form/ButtonInput.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import * as React from 'react'

const ButtonInput: React.FunctionComponent<any> = ({ onClick, children }) =>
<button onClick={onClick} className='input button'>{children}</button>

export default ButtonInput

0 comments on commit c1f5d56

Please sign in to comment.