// @flow
import React from 'react'
import Button from '../Button'

type Props = {
  createSession: Function
}

const CreateButton = Button.extend`align-self: flex-start;`

const Create = (props: Props) => {
  return <CreateButton onClick={props.createSession}>Create Game</CreateButton>
}

export default Create

// @flow
import React from 'react'
import Button from '../Button'

type Props = {
  createSession: Function
}

const CreateButton = Button.extend`
  display: block;
  flex: 0;
  margin-bottom: auto;
  margin-right: auto;
`

const Create = (props: Props) => {
  return <CreateButton onClick={props.createSession}>Create Game</CreateButton>
}

export default Create

Fix stretched button in sessions view.
Fix stretched button in sessions view.
