import * as React from 'react' ; import { Result , Button } from 'antd' ; type PropsType = { title : string ; href : string ; } ; const LayoutEmpty = ( props ) => { return ( < Result style = { { width : '100%' , } } title = { props . title } extra = { < Button type = { 'primary' } href = { props . href } > 去安装脚本 < /Button>}/ > ) ; } ; export default LayoutEmpty ;