hzdg / hz-core

HZ's internal library of React Components 🚧
https://hz-core.netlify.com
0 stars 0 forks source link

Support React Native? #6

Closed elainen closed 6 years ago

elainen commented 6 years ago

I'm adding this here just to have some kind of footprint on whether or not we should support React Native for this library. Some things to consider:

elainen commented 6 years ago

Based on a discussion in #5, we will open the opportunity to implement both the DOM version and the native version of a component and keep them separate but within the same package/component directory.

The structure would maybe look something like:

import Button from '@hz-core/hz-button/DOMButton`;

or

import Button from '@hz-core/hz-button/NativeButton`;