react-icons/fi#FiMinus JavaScript Examples

The following examples show how to use react-icons/fi#FiMinus. 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: MapButton.js    From airdnd-frontend with MIT License 6 votes vote down vote up
MapZoomButton = ({ onZoomIn, onZoomOut }) => {
  return (
    <StBtnWrapper>
      <StButton className="plusBtn" position="relative" onClick={onZoomIn}>
        <FiPlus fontSize="2.4rem" />
      </StButton>
      <StLine />
      <StButton className="minusBtn" position="relative" onClick={onZoomOut}>
        <FiMinus fontSize="2.4rem" />
      </StButton>
    </StBtnWrapper>
  );
}
Example #2
Source File: CounterButton.js    From airdnd-frontend with MIT License 5 votes vote down vote up
MinusButton = ({ ...rest }) => {
  return (
    <StCounterButton btnType="circle" fontSize="1.7rem" {...rest}>
      <FiMinus strokeWidth="3px" />
    </StCounterButton>
  );
}
Example #3
Source File: SearchGuestsPopup.js    From airdnd-frontend with MIT License 4 votes vote down vote up
SearchGuestsPopup = forwardRef(
  ({ type, searchData, increaseGuestCount, decreaseGuestCount }, ref) => {
    const { guests } = searchData;
    const { adult, child, infant } = guests;

    return (
      <StSearchGuestsPopupWrapper ref={ref}>
        <StSearchGuestsPopup popupState={type === 'guests'}>
          <StSearchGuestsList>
            <StSearchGuestsItem>
              <StSearchGuestsTextWrapper>
                <StSearchGuestsType>성인</StSearchGuestsType>
                <StSearchGuestsTypeAge>만 13세 이상</StSearchGuestsTypeAge>
              </StSearchGuestsTextWrapper>
              <StSearchGuestsCountWrapper>
                <StSearchGuestsCountBtn
                  btnType="circle"
                  minusBtn
                  guestCount={adult}
                  onClick={() => decreaseGuestCount(guests, 'adult')}
                >
                  <FiMinus></FiMinus>
                </StSearchGuestsCountBtn>
                <StSearchGuestsCount>{adult}</StSearchGuestsCount>

                <StSearchGuestsCountBtn
                  btnType="circle"
                  onClick={() => increaseGuestCount(guests, 'adult')}
                >
                  <FiPlus></FiPlus>
                </StSearchGuestsCountBtn>
              </StSearchGuestsCountWrapper>
            </StSearchGuestsItem>
            <StSearchGuestsItem>
              <StSearchGuestsTextWrapper>
                <StSearchGuestsType>어린이</StSearchGuestsType>
                <StSearchGuestsTypeAge>2~12세</StSearchGuestsTypeAge>
              </StSearchGuestsTextWrapper>
              <StSearchGuestsCountWrapper>
                <StSearchGuestsCountBtn
                  btnType="circle"
                  minusBtn
                  guestCount={child}
                  onClick={() => decreaseGuestCount(guests, 'child')}
                >
                  <FiMinus></FiMinus>
                </StSearchGuestsCountBtn>
                <StSearchGuestsCount>{child}</StSearchGuestsCount>
                <StSearchGuestsCountBtn
                  btnType="circle"
                  onClick={() => increaseGuestCount(searchData.guests, 'child')}
                >
                  <FiPlus></FiPlus>
                </StSearchGuestsCountBtn>
              </StSearchGuestsCountWrapper>
            </StSearchGuestsItem>
            <StSearchGuestsItem>
              <StSearchGuestsTextWrapper>
                <StSearchGuestsType>유아</StSearchGuestsType>
                <StSearchGuestsTypeAge>2세 미만</StSearchGuestsTypeAge>
              </StSearchGuestsTextWrapper>
              <StSearchGuestsCountWrapper>
                <StSearchGuestsCountBtn
                  btnType="circle"
                  minusBtn
                  guestCount={infant}
                  onClick={() => decreaseGuestCount(guests, 'infant')}
                >
                  <FiMinus></FiMinus>
                </StSearchGuestsCountBtn>
                <StSearchGuestsCount>{infant}</StSearchGuestsCount>
                <StSearchGuestsCountBtn
                  btnType="circle"
                  onClick={() =>
                    increaseGuestCount(searchData.guests, 'infant')
                  }
                >
                  <FiPlus></FiPlus>
                </StSearchGuestsCountBtn>
              </StSearchGuestsCountWrapper>
            </StSearchGuestsItem>
          </StSearchGuestsList>
        </StSearchGuestsPopup>
      </StSearchGuestsPopupWrapper>
    );
  },
)