Home > react-native-material-kit
react-native-material-kit package
react-native-material-kit, the toolkit introducing Material Design to React Native.
Author: ywu on 15/6/1.
Classes
Class | Description |
---|---|
Button | The Button component. |
Checkbox | The Checkbox component. |
IconToggle | The IconToggle component.See MDL implementation |
IndeterminateProgress | Indeterminate linear progress indicator. |
Progress | Determinate linear progress indicator. |
RadioButton | The RadioButton component. |
RadioButtonGroup | Managing a group of radio buttons. |
RangeSlider | The RangeSlider component. |
Ripple | Reusable Ripple effect. |
Slider | The Slider component. |
Spinner | The default Spinner component. |
Switch | The Switch component. |
Textfield | The Textfield component, which has an optional and . - TODO styling read-only & disabled mode |
Functions
Function | Description |
---|---|
getTheme() | Retrieve a copy of the current theme |
setTheme(aTheme) | Set the current theme. |
Interfaces
Interface | Description |
---|---|
ButtonProps | Props of Button, which extends RippleProps and |
CheckedEvent | |
Dimension | |
IconToggleProps | Props of IconToggle |
NumRange | Numeric range |
ProgressProps | Props of Progress, which extends SimpleProgressProps |
RadioButtonProps | Props of RadioButton |
RangeSliderProps | Props of RangeSlider |
SimpleProgressProps | Basic Props of Progress, which extends |
SliderProps | Props of Slider |
SpinnerProps | Props of Spinner, which extends |
SwitchProps | Props of Switch |
TextfieldProps | Props of the Textfield component |
Theme |
Variables
Variable | Description |
---|---|
AccentFab | Accent colored floating action button |
AccentRaisedButton | Raised button with Accent color |
ButtonStyles | Pre-defined Button props/styles for common cases |
ColoredFab | Primary floating action button |
ColoredRaisedButton | Primary raised button |
Fab | Default floating action button |
FlatButton | Flat button (text button) |
MKColor | The default palette.Created by ywu on 15/7/16. |
RaisedButton | Default raised button |
Type Aliases
Type Alias | Description |
---|---|
AttrValue | |
CheckboxProps | Props of Checkbox |
CheckedListener | |
NullableAttrValue | |
NullableReactChild | |
NullableString | |
NullableStyle | |
Prediction | |
RippleLocation | |
RippleProps | Props of Ripple |
Style |