Update Tooltip implementation for Flipper
Summary:
Basic tooltips available. Use is:
<Tooltip
title="This is what will show up inside the tooltip"
options={{ // can include any or none of these (if not included default will be used)
position, // 'above', 'below', 'toRight', or 'toLeft'
showTail, // whether or not tooltip should have tail
delay, // how long to wait on hover before showing tooltip
// supported css properties
backgroundColor,
color,
maxWidth,
width,
borderRadius,
padding,
lineHeight,
}}>
<ElementTooltipWillShowUpFor/>
</Tooltip>
Reviewed By: danielbuechele
Differential Revision: D9596287
fbshipit-source-id: 233b1ad01b96264bbc1f62f3798e3d69d1ab4bae
This commit is contained in:
committed by
Facebook Github Bot
parent
cf3cb0d08f
commit
d26779cd16
@@ -955,9 +955,9 @@ export default class Layout extends SonarPlugin<InspectorState> {
|
||||
'accessibility-focused':
|
||||
'True if this element has the focus of an accessibility service',
|
||||
'content-description':
|
||||
'Text to label the content/functionality of this element ',
|
||||
'Text to label the content or functionality of this element ',
|
||||
'important-for-accessibility':
|
||||
'Marks this element as important to accessibility services, one of AUTO, YES, NO, NO_HIDE_DESCENDANTS',
|
||||
'Marks this element as important to accessibility services; one of AUTO, YES, NO, NO_HIDE_DESCENDANTS',
|
||||
'talkback-focusable': 'True if Talkback can focus on this element',
|
||||
'talkback-focusable-reasons': 'Why Talkback can focus on this element',
|
||||
'talkback-ignored': 'True if Talkback cannot focus on this element',
|
||||
|
||||
Reference in New Issue
Block a user