-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<FloatingTip />の実装 #67
Conversation
TODO - clickAwayListenerの導入 - storybookの表示を調整
TODO
|
とりあえず作り切ったので、命名周りを相談する |
https://cartaholdings.slack.com/archives/CKYAWNNLX/p1591862578167400
3つの候補から |
こういうのはdescriptionにcheckboxとかで書いてもらえると終わったかどうか分かりやすい! |
const FloatingTip: React.FunctionComponent<Props> = ({ | ||
baseElement, | ||
positionPriority = ["auto"], | ||
offset = [0, 0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yは10?くらい当てといて良さそう!
positionPriorityも利用頻度が一番高いところ(カンプがあればそれに近いところ)を入れておくと使いやすそう
right_start
とかかな?
baseElement: HTMLElement | null; | ||
positionPriority?: PopperJS.Placement[]; | ||
offset?: [number, number]; | ||
open: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
open: boolean; | |
isOpen: boolean; |
命名は他に合わせてもらえると!
このPR終わったらDstへの導入もしてくれる感じかな? |
自分がToastやって、まきたけさんが旧Popoverをやる感じでいきますか!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです!
close: #61