akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.28k stars 951 forks source link

Not found RkCalendar component #294

Closed lashevskiy closed 5 years ago

lashevskiy commented 5 years ago

I try to use react-native-ui-kitten. But then I execute npm install --save react-native-ui-kitten I can not use RkCalendar, because this component is not found. How can I solve this problem and that I do wrong?

artyorsh commented 5 years ago

Hi @lashevskiy

Thanks for report. RkCalendar is not included in latest release (noticed in #211). To use it you can install framework directly from github:

npm i react-native-ui-kitten akveo/react-native-ui-kitten
lashevskiy commented 5 years ago

Hi @artyorsh

Does it work correctly? Can I use it in accordance with the documentation and not worry? Will it be included in the next version of the library?

artyorsh commented 5 years ago

@lashevskiy

You can use it without worries :) Documentation is actual and describes the main principles of how it can be used

lashevskiy commented 5 years ago

@artyorsh I try to use them like you write above, but I have the next problem:

Support for the experimental syntax 'exportNamespaceFrom' isn't currently enabled
export * as Base from './baseCalendarSelectionStrategy';
export * as Range from './rangedCalendarSelectionStrategy';

How can I solve this problem? I try use @babel/plugin-syntax-export-namespace-from but it not helped me.

artyorsh commented 5 years ago

@lashevskiy Looks like you have configuration issues in your .babelrc Take a look on our playground app configuration. It also demonstrates practical usage for all framework components

weikilla commented 5 years ago

@lashevskiy Looks like you have configuration issues in your .babelrc Take a look on our playground app configuration. It also demonstrates practical usage for all framework components

hi,i can run the example,but when i use ui-kitten 3.13 In my rn project,it show an error in RkCalendarDay.component.js line 52 that undefined is not an object(evaluating '_reactNative.View.propTypes.style'),i found this .js is the same as example(can run) , but when i run with react-native run-android , i got this error

kubido commented 5 years ago

in expo, I manage to remove the error by adding babel plugin @babel/plugin-proposal-export-namespace-from

yarn add @babel/plugin-proposal-export-namespace-from --dev and in your babel.config.js: plugins: ['@babel/plugin-proposal-export-namespace-from']

but still got calendar error related to this issue #357 (ver 3.1.3)

ghost commented 5 years ago

Did anyone found the solution for it ?