@fortawesome/free-solid-svg-icons#faSearchPlus TypeScript Examples

The following examples show how to use @fortawesome/free-solid-svg-icons#faSearchPlus. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RawDataViewer.tsx    From apps with MIT License 6 votes vote down vote up
render() {
        const block = this.props.block ?? true;
        return (
            <>
                <Button
                    variant="outline-info"
                    block={block}
                    onClick={() => {
                        this.show();
                    }}
                >
                    {this.props.text || "View"}
                    &nbsp;
                    <FontAwesomeIcon icon={faSearchPlus} />
                </Button>

                <Modal size={"lg"} show={this.state.showing} onHide={() => this.hide()}>
                    <Modal.Header closeButton>
                        <Modal.Title>Raw Data Viewer</Modal.Title>
                    </Modal.Header>
                    <Modal.Body lang="en-US">
                        {this.state.data ? (
                            <ReactJson
                                style={{ wordBreak: "break-all" }}
                                src={this.state.data}
                                collapsed={1}
                                theme={viewerTheme.get(Manager.theme()) ?? "rjv-default"}
                                enableClipboard={(clipboard) => {
                                    if (typeof clipboard.src === "string") {
                                        copy(clipboard.src);
                                    }
                                }}
                            />
                        ) : null}
                    </Modal.Body>
                </Modal>
            </>
        );
    }
Example #2
Source File: fontawesome-config.ts    From covidnet_ui with GNU Affero General Public License v3.0 6 votes vote down vote up
// Description: add icons to be used in the app as needed
// Some are solid and some are from regular svg (hollow icons)
library.add(
  faSearch,
  faSearchPlus,
  faHome,
  faSpinner,
  faExclamationTriangle,
  faTrash,
  faTrashAlt,
  faEdit,
  faUser,
  faUserEdit,
  faUserPlus,
  faUserTimes,
  faUserMinus,
  faKey,
  faCheck,
  faCheckCircle,
  faCalendarDay,
  faClock,
  faCalendarAlt,
  farUser,
  faFileAlt
);