Skip to content
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

Components #56

Open
shailen-naidoo opened this issue Feb 17, 2020 · 3 comments
Open

Components #56

shailen-naidoo opened this issue Feb 17, 2020 · 3 comments

Comments

@shailen-naidoo
Copy link
Collaborator

const Tooltip = ({ dev }, text) => `
  <tooltip>
    <p>${text}</p>
  </tooltip>
` 
const { Tooltip } = require('./components')

module.exports = {
  Tooltip
}
module.exports = ({ components }) => `
<html>
  <body>
    ${components.Tooltip('Hello World')}
  </body>
</html>
`
@shailen-naidoo shailen-naidoo added this to 💡 Ideas in Hydrogen Development Feb 21, 2020
@lightningspirit
Copy link

This would be extremely fantastic to have.

@shailen-naidoo
Copy link
Collaborator Author

@lightningspirit I will see if I have the time to implement it :)

@shailen-naidoo
Copy link
Collaborator Author

@lightningspirit Are you still using this library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Hydrogen Development
  
💡 Ideas
Development

No branches or pull requests

2 participants