react-icons/bs#BsChevronCompactRight TypeScript Examples

The following examples show how to use react-icons/bs#BsChevronCompactRight. 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: ShopListItem.tsx    From app with MIT License 6 votes vote down vote up
Content = (props: Props) => {
  const clickHandler = () => {
    props.popupHandler(props.data)
  }

  const distanceTipText = makeDistanceLabelText(props.data.distance)

  return (
    <>
      <button className="shop-link" onClick={clickHandler}>
        <h2>{props.data['店名']}</h2>
        <div>
          <span className="nowrap"><span className="category">{props.data['ジャンル']}</span></span>
          <span className="nowrap">{distanceTipText && <span className="distance">現在位置から {distanceTipText}</span> }</span>
        </div>

        <Links data={props.data} />

        <div style={{margin: "16px 0"}}><ShopMeta shop={props.data} /></div>

        <div className="right"><BsChevronCompactRight size="40px" color="#CCCCCC" /></div>
      </button>
    </>
  );
}