@aligov/h5-gov-login
publish
tag beta: npm publish --tag beta tag lastest: npm publish sync tnpm package: tnpm sync @aligov/h5-gov-login
Install
$ npm install @aligov/h5-gov-login --save
Usage
import GovLogin from '@aligov/h5-gov-login';
API
Props
name | type | default | describe |
---|---|---|---|
description | String | '' | 描述 |
extendParam | { |
publicKeyUrl?: string; loginUrl?: string; treeUrl?: string; indexPage?: string; accountSource?: string; goto?: string; } | 扩展参数 |
Function
name | param | return | describe |
---|---|---|---|
name | Object | / | describe |
Example
import { createElement, render } from 'rax';
import DriverUniversal from 'driver-universal';
import GovLogin from '@aligov/h5-gov-login';
render(<GovLogin />, document.body, { driver: DriverUniversal });