react-icons/fa#FaRss TypeScript Examples

The following examples show how to use react-icons/fa#FaRss. 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: RSSLinkTitle.tsx    From hub with Apache License 2.0 6 votes vote down vote up
RSSLinkTitle = (props: Props) => (
  <div className="d-flex flex-row align-items-center mt-2 mb-1">
    <div data-testid="smallTitle">
      <small className="card-title text-muted text-uppercase">{props.title}</small>
    </div>

    <small>
      <a
        className="badge rounded-pill bg-secondary rssBadge ms-3"
        rel="alternate noopener noreferrer"
        role="button"
        target="_blank"
        type="application/rss+xml"
        href={`/api/v1${buildPackageURL(props.normalizedName, props.repository, props.version)}/feed/rss`}
      >
        <div className="d-flex flex-row align-items-center">
          <FaRss className="me-1" />
          <div>RSS</div>
        </div>
      </a>
    </small>
  </div>
)