login-components

Component Login use antd design

Usage no npm install needed!

<script type="module">
  import loginComponents from 'https://cdn.skypack.dev/login-components';
</script>

README

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