How to use the react-icons/fa.FaAngleUp function in react-icons

To help you get started, we’ve selected a few react-icons 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 reef-pi / reef-pi / front-end / src / ui_components / collapsible.jsx View on Github external
onClick={this.handleDelete}
              id={'delete-' + name}
              className='btn btn-sm btn-outline-danger float-right d-block d-sm-inline ml-2'
            >
              {i18next.t('collapsible:delete')}
            
            {readOnly ? toggleStateButton : null}
            {readOnly ? editButton : null}
            {this.props.buttons}
          
          <div readonly=""> onToggle(name)}
          &gt;
            {expanded ? FaAngleUp() : FaAngleDown()}
            {this.props.title}
          </div>
        
        {expanded
          ? cloneElement(children, {
            readOnly: readOnly,
            onSubmit: handleSubmit
          })
          : null}
      
    )
  }
}
github reef-pi / reef-pi / jsx / ui_components / collapsible.jsx View on Github external
})}&gt;
          <div>
            <button id="{'delete-'" type="button">
              {i18next.t('collapsible:delete')}
            </button>
            {readOnly ? toggleStateButton : null}
            {readOnly ? editButton : null}
            {this.props.buttons}
          </div>
          <div readonly=""> onToggle(name)}&gt;
            {expanded ? FaAngleUp() : FaAngleDown()}
            {this.props.title}
          </div>
        
        {expanded
          ? cloneElement(children, {
            readOnly: readOnly,
            onSubmit: handleSubmit
          })
          : null}
      
    )
  }
}
github reef-pi / reef-pi / front-end / src / temperature / sensor.jsx View on Github external
className='row mb-1 cursor-pointer text-center text-md-left'
          id={'expand-tc-' + this.props.data.id}
          onClick={this.handleExpand}
        &gt;
          <div>
            <button type="button">
              Delete
            </button>
            {editButton}
          </div>
          <div>
            {this.state.expand ? FaAngleUp() : FaAngleDown()}
            <b>{this.props.data.name}</b>
          </div>
        
        {details}
      
    )
  }
}
github reef-pi / reef-pi / front-end / src / ato / ato.jsx View on Github external
className='row mb-1 cursor-pointer text-center text-md-left'
          id={'expand-ato-' + this.props.data.id}
          onClick={this.handleExpand}
        &gt;
          <div>
            <button type="button">
              {i18next.t('delete')}
            </button>
            {editButton}
          </div>
          <div>
            {this.state.expand ? FaAngleUp() : FaAngleDown()}
            <b>{this.props.data.name}</b>
          </div>
        
        {details}
      
    )
  }
}