Simple Ionic components for building mobile form.
Pull this repo, run npm i
and then npm start
and browse localhost:4200
to view the sample components.
npm i ionic-form-components
or
yarn add ionic-form-components
Modify the page's module that needs to use components as below.
import {
IonicFormModule,
IonicFormViewModule,
IonicFormPipesModule
} from 'ionic-form-components';
@NgModule({
imports: [
...
IonicFormModule,
IonicFormViewModule,
IonicFormPipesModule
],
...
})
export class SomePageModule {}
Add this import statement in your global.scss
file.
@import "~ionic-form-components/src/styles/global";
@import "~ionic-form-components/src/styles/variables";
Support:
- Angular 12.0.0 +
- Ionic 5.0.0 +
Released under MIT license.