import { MaterialIcon } from '@automattic/components'; import PropTypes from 'prop-types'; import { Component, Fragment } from 'react'; import VerticalNavItem from 'calypso/components/vertical-nav/item'; const SecurityCheckupNavigationItemContents = function ( props ) { const { materialIcon, materialIconStyle, text, description } = props; return (
{ text }
{ description }
); }; class SecurityCheckupNavigationItem extends Component { static propTypes = { description: PropTypes.node, external: PropTypes.bool, isPlaceholder: PropTypes.bool, materialIcon: PropTypes.string, materialIconStyle: PropTypes.string, onClick: PropTypes.func, path: PropTypes.string, text: PropTypes.string, disabled: PropTypes.bool, }; render() { if ( this.props.isPlaceholder ) { return ; } return ( ); } } export default SecurityCheckupNavigationItem;