Skip to content

Comments

feat: Tooltip 컴포넌트 구현#24

Open
bbanderson wants to merge 13 commits intoepic/12from
feature/Tooltip
Open

feat: Tooltip 컴포넌트 구현#24
bbanderson wants to merge 13 commits intoepic/12from
feature/Tooltip

Conversation

@bbanderson
Copy link
Collaborator

Issue

Tooltip 컴포넌트 구현 #12

Changes

  • 컴포넌트 구현
  • tail(툴팁 화살표)를 위한 tooltipTail.svgdesign-system/src/assets에 추가
  • svg 파일 타입 해석을 위한 custom.d.tsdesign-system/src에 추가

Test Cases

  • 스토리북 UI 테스트

Notes

Tooltip의 show 여부에 관한 비즈니스 로직을 useTooltip 훅을 생성하여 분리할지는 우선 나중에 생각할 예정
현재는 Tooltip 사용처에서 useState를 통해 onMouseEnter, onMouseLeave 핸들러에 setShow 적용중

Screen Shots

스크린샷 2021-11-29 오전 12 46 02
스크린샷 2021-11-29 오전 12 46 14

Post Actions

ButtonTooltip 컴포넌트 구현

@bbanderson bbanderson added the feature New feature or request label Nov 28, 2021
@bbanderson bbanderson requested a review from danbileee November 28, 2021 15:48
@bbanderson bbanderson self-assigned this Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants