import React, { Component, Fragment } from 'react'; import { FormattedMessage } from 'react-intl'; import { List } from 'antd'; const passwordStrength = { strong: ( ), medium: ( ), weak: ( Weak ), }; export default class SecurityView extends Component { getData = () => { return [ { title: 'account password', description: Current password strength:{passwordStrength.strong}, actions: [Modify], }, { title: 'Security phone', description: 'Bound phone:138****8293', actions: [Modify], }, { title: 'Security Question', description: 'The security question is not set, and the security policy can effectively protect the account security', actions: [Set], }, { title: 'Backup Email', description: 'Bound Email:ant***sign.com', actions: [Modify], }, { title: 'MFA Device', description: 'Unbound MFA device, after binding, can be confirmed twice', actions: [Bind], }, ]; }; render() { return ( ( )} /> ); } }