@viniengelage/materialui-input
v1.0.6
Published
A input component list, crafted with styled-components and Unform. This a module for Vinicios Engelage's MaterialUI
Downloads
1
Readme
viniengelage-materialui-input
A input component list, crafted with styled-components and Unform. This a module for Vinicios Engelage's MaterialUI
Install
npm install --save @viniengelage/materialui-input
or
yarn add @viniengelage/materialui-input
Usage
import React from 'react';
import { BasicInput } from '@viniengelage/materialui-input'
const App = () => (
<Form onSubmit={() => console.log('submit')}>
<BasicInput name="input"/>
</Form>
)
export default App;
Theme
You can add your own theme, using the function addButtonTheme
import theme from './myTheme';
import { addInputTheme } from '@viniengelage/materialui-input'
addInputTheme(theme)
You can use this function in your App.js
License
MIT © viniengelage