Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 30 2019 15:03

    xinthink on master

    refactor type definition update document (compare)

  • Jan 30 2019 14:04
    abuammar commented #404
  • Jan 29 2019 02:50

    xinthink on v0.5.1


  • Jan 26 2019 09:26

    xinthink on master

    upgrade to android studio 3.3 (compare)

  • Jan 26 2019 07:36

    xinthink on master

    rewrite RadioButton in TS (compare)

  • Jan 26 2019 05:41

    xinthink on master

    upgrade eslint setting up typescript refactor Button, replaced build… and 7 more (compare)

  • Jan 26 2019 05:10

    xinthink on typescript

    rewrite Switch component in TS remove useless code (compare)

  • Jan 18 2019 15:28
    azamkth edited #404
  • Jan 18 2019 15:27
    azamkth edited #404
  • Jan 18 2019 15:27
    azamkth edited #404
  • Jan 18 2019 15:26
    azamkth edited #404
  • Jan 18 2019 15:18
    azamkth edited #404
  • Jan 18 2019 15:15
    azamkth edited #404
  • Jan 18 2019 15:15
    azamkth opened #404
  • Jan 01 2019 04:38

    xinthink on typescript

    refactor Button, replaced build… (compare)

  • Dec 30 2018 02:04

    xinthink on typescript

    upgrade gradle and android stud… upgrade react-native upgrade eslint and 1 more (compare)

  • Dec 12 2018 01:31
    dotcom900825 commented #403
  • Dec 12 2018 01:30
    dotcom900825 closed #403
  • Dec 12 2018 01:30
    dotcom900825 commented #403
  • Dec 12 2018 00:39
    dotcom900825 edited #403
Antoine Rousseau
wouldn't it make the lib lighter?
anyway good work!
Olivier Roche

Hi all, I'm facing an issue while testing my components with dependencies to this module. I have a component that uses MKButton, but when I run test on this component, the dependency seems to not be transpiled and i get this error :

export {

SyntaxError: Unexpected reserved word

I then override the ignore of babel-register to transpile dependencies in the node_modules folder with ignore: false
but then I get :
Error: Cannot find module './Spinner'
I've seen the issue #212, so there is a Spinner.ios.js and Spinner.android.js file but no Spinner.js
I understand that react-native can load the right dependency but what about testing ? What should I do to get my test working ?
Olivier Roche
what i'm doing to avoid this is to require the MKButton trough
import * as MKButton from '../../node_modules/react-native-material-kit/lib/mdl/Button';
So that I don't have to import the spinner as well but this is:
  1. very ugly IMO
  2. won't solve the issue if I need to require the Spinner some day :(
@xinthink Hi , when we will get new release including this fix xinthink/react-native-material-kit#258
Rafael Seemann
Hey guys. I'm still new to the library and am not being able to understand why I'm changing the default theme with setThemebut I don't see this at the buttons I'm creating.
For example, I'm changing the rippleColor, but I don't see this in the MKButton.button().build() I'm using
what am I doing wrong here?
Cristian Torres
Hi, guys, does anyone knows how to make a MKTextField with textFloatingLabel using JSX syntax?
Samyak Bhuta
Hey guys, are there any sample application built with RNMK? Looking for .apk I can install and test on my Android.
Good work!
Rémi Tran
Hi, i have a tiny small issue, on MKTextField (single line) i have a long string (an address) value bind with state, so when the view is mounted, the text on iOS is display from the start, but on Android it is display from the end. Does anyone know a way to configure this please ?
Phu Tang
Hi guys, I have PR xinthink/react-native-material-kit#363 anyone can help me review it?
Do you know how to do icon component ?
Грибок Арсентий

Hello all. May anyone help me install react-native-material-kit? I have trouble with standart way. I'm installed it with /npm install -S react-native-material-kit

react-native link react-native-material-kit/
And then imported / import { MKTextField } from 'react-native-material-kit'; /
I got error: Cannot convert undefined or null to object (Function.defineProps -> Function.getOwnPropertyNames)
I don't build any textfield, i just import module.

Peter Evsikov
How to do infinity loop Progress?
I don't know version, but earlier it works like spinner. Just infinity loading
Now it doesn't works.
Is it possible now?
Peter Evsikov
Answer: import * as IndeterminateProgress from 'react-native-material-kit/src/mdl/IndeterminateProgress';
hi all i have just installed this library but am getting an error '''Invariant Violation: Element type is invalid:'''
any suggestions would help
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Alireza TK
hi guys is it possible to make outlined textinputs with this library? I want a sort of a textbox like the outlined floating label textbox of material ui