How to use the fbt.GenderConst.MALE_SINGULAR 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
ex2Pronoun: parseInt(event.target.value, 10),
                      });
                    }}>
                    <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>
                  
                
              
            
            <fieldset>
              <span>
                
                  
                    <b>
                      <a href="#">{this.state.ex2Name}</a>
                    </b></span></fieldset>
github facebookincubator / fbt / live-demo-app / src / example / Example.react.js View on Github external
<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>
              
            
            <fieldset></fieldset>