Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

feat(Tooltip): Initial implementation #215

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

martahj
Copy link
Contributor

@martahj martahj commented Mar 19, 2018

Builds out an initial tooltip component

Resolve #47

Now link: https://docs-kjhyzertdn.now.sh

Builds out an initial tooltip component

Resolve HomeServicesOfAmerica#47
@martahj
Copy link
Contributor Author

martahj commented Mar 19, 2018

A note on this PR: In the past, we've used react-tooltip for our tooltip needs. However, this implementation moves away from that because it is no longer being actively maintained and does not work cleanly with styled-components (see this issue)

Copy link
Contributor

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

import { Portal } from './Portal';
import { Icon } from '../icons/icons';

const MOBILE_MARGIN = 24;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not now but sometime soon we need to have a group session where we identify common variables used throughout the material components implementation as well as our own library and move them into the theme or create some variables that are usable globally.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I opened an issue for this.

@brad-decker brad-decker merged commit 6b93f29 into HomeServicesOfAmerica:master Mar 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants