import React from 'react' import * as ycore from 'ycore' import * as Icons from '@ant-design/icons' import * as antd from 'antd' import styles from './index.less' import Sessions_Manager from './sessions.js' const { Menu } = antd export default class SecurityView extends React.Component { state = { current: 'privacy', } handleClick = e => { this.setState({ current: e.key, }) } renderChildren = () => { const { current } = this.state switch (current) { case 'privacy': return null case 'credentials': return null case 'sessions': return default: break } return null } render() { return (

Your Security & Privacy Privacy Credentials Sessions
{this.renderChildren()}

) } }