<commit_before>// @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<commit_msg>Fix stretched button in sessions view.<commit_after>// @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
{'fraction_non_alphanumeric': 0.12084993359893759, 'fraction_numerical': 0.0013280212483399733, 'mean_word_length': 4.755725190839694, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2866908', 'n_tokens_mistral': 224, 'n_tokens_neox': 222, 'n_words': 69}