fix: accessiblity improvements, focus states, real buttons

This commit is contained in:
Tom Moor
2019-08-30 00:27:40 -07:00
parent 140f009b4d
commit 6520a501e3
14 changed files with 123 additions and 52 deletions

View File

@ -272,8 +272,10 @@ const PrismStyles = createGlobalStyle`
}
`;
const EditorTooltip = props => (
<Tooltip offset="0, 16" delay={150} {...props} />
const EditorTooltip = ({ children, ...props }) => (
<Tooltip offset="0, 16" delay={150} {...props}>
<span>{children}</span>
</Tooltip>
);
export default withTheme(