login-components

1.1.2 • Public • Published

React-Component-Login

Component Login use antd design

Installing

Using npm

$ npm install login-components
import { ResultComponent } from 'login-components'

Using yarn

$ yarn add login-components
import { ResultComponent } from 'login-components'

Import stylesheets

import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'

Example

import React, { Component } from "react";
import { ResultComponent } from 'login-components'
 
class App extends Component { 
  render() { 
    return (
      <div>
        <ResultComponent />
      </div>
    );
  }
}
 
export default App;

Paramerter

Props Description Default
status 'success' or 'error' or 'info'or 'warning' or'404'or '403'or '500' 'info'
title string
subTitle description(string)
textButton string textButton
textBuy string

Dependencies (0)

    Dev Dependencies (24)

    Package Sidebar

    Install

    npm i login-components

    Weekly Downloads

    0

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    2.1 MB

    Total Files

    17

    Last publish

    Collaborators

    • vanphudhsp2015