@fakel/rest-admin
Version:
An application that makes it easier to work with your API
9 lines (8 loc) • 348 B
JavaScript
import React from 'react';
import Button from 'antd/lib/button';
import { withI18 } from '../../hoc/withI18';
var LoginButton = function (_a) {
var loading = _a.loading, text = _a.text;
return (React.createElement(Button, { type: "primary", htmlType: "submit", loading: loading }, text || 'Login'));
};
export default withI18(LoginButton);