How to use the fbt.GenderConst.UNKNOWN_PLURAL function in fbt

To help you get started, we’ve selected a few fbt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebookincubator / fbt / demo-app / src / example / Example.react.js View on Github external
<option value="{k}">
                        {ExampleEnum[k]}
                      </option>
                    ))}
                  
                
                <span>
                  <select>) =&gt; {
                      this.setState({
                        ex2Pronoun: parseInt(event.target.value, 10),
                      });
                    }}&gt;
                    <option value="{GenderConst.UNKNOWN_PLURAL}">
                      Gender:
                    </option>
                    <option value="{GenderConst.NOT_A_PERSON}">
                      Not a person
                    </option>
                    <option value="{GenderConst.UNKNOWN_PLURAL}">
                      Unknown (Plural)
                    </option>
                    <option value="{GenderConst.UNKNOWN_SINGULAR}">
                      Unknown (singular)
                    </option>
                    <option value="{GenderConst.MALE_SINGULAR}">
                      Male (singular)
                    </option>
                    <option value="{GenderConst.FEMALE_SINGULAR}">
                      Female (singular)</option></select></span>
github facebookincubator / fbt / live-demo-app / src / example / Example.react.js View on Github external
<option value="{k}">
                        {ExampleEnum[k]}
                      </option>
                    ))}
                  
                
                <span>
                  <select>) =&gt; {
                      this.setState({
                        ex2Pronoun: parseInt(event.target.value, 10),
                      });
                    }}&gt;
                    <option value="{GenderConst.UNKNOWN_PLURAL}">Gender:</option>
                    <option value="{GenderConst.FEMALE_SINGULAR}">
                      Female (Singular)
                    </option>
                    <option value="{GenderConst.MALE_SINGULAR}">
                      Male (Singular)
                    </option>
                    <option value="{GenderConst.NOT_A_PERSON}">
                      Not a person
                    </option>
                    <option value="{GenderConst.UNKNOWN_PLURAL}">
                      Unknown (Plural)
                    </option>
                    <option value="{GenderConst.UNKNOWN_SINGULAR}">
                      Unknown (Singular)
                    </option>
                  </select></span>