Skip to content

Commit

Permalink
fix: add gender other to gender selectors (#3524)
Browse files Browse the repository at this point in the history
docs(mixed): add gender other to gender selectors
  • Loading branch information
tanohzana authored and layershifter committed Mar 21, 2019
1 parent a2c73ad commit 869f4e7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Button, Checkbox, Form, Input, Radio, Select, TextArea } from 'semantic
const options = [
{ key: 'm', text: 'Male', value: 'male' },
{ key: 'f', text: 'Female', value: 'female' },
{ key: 'o', text: 'Other', value: 'other' },
]

class FormExampleFieldControl extends Component {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Form, Input, TextArea, Button, Select } from 'semantic-ui-react'
const genderOptions = [
{ key: 'm', text: 'Male', value: 'male' },
{ key: 'f', text: 'Female', value: 'female' },
{ key: 'o', text: 'Other', value: 'other' },
]

const FormExampleFieldControlId = () => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Form } from 'semantic-ui-react'
const options = [
{ key: 'm', text: 'Male', value: 'male' },
{ key: 'f', text: 'Female', value: 'female' },
{ key: 'o', text: 'Other', value: 'other' },
]

class FormExampleSubcomponentControl extends Component {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Form } from 'semantic-ui-react'
const options = [
{ key: 'm', text: 'Male', value: 'male' },
{ key: 'f', text: 'Female', value: 'female' },
{ key: 'o', text: 'Other', value: 'other' },
]

const FormExampleFieldError = () => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const TableExampleColumnCount = () => (
<Table.Cell>Jill</Table.Cell>
<Table.Cell>Denied</Table.Cell>
<Table.Cell>22</Table.Cell>
<Table.Cell>Female</Table.Cell>
<Table.Cell>Other</Table.Cell>
<Table.Cell>None</Table.Cell>
</Table.Row>
</Table.Body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Table } from 'semantic-ui-react'
const tableData = [
{ name: 'John', age: 15, gender: 'Male' },
{ name: 'Amber', age: 40, gender: 'Female' },
{ name: 'Leslie', age: 25, gender: 'Female' },
{ name: 'Leslie', age: 25, gender: 'Other' },
{ name: 'Ben', age: 70, gender: 'Male' },
]

Expand Down

0 comments on commit 869f4e7

Please sign in to comment.