/** * Copyright (c) OpenSpug Organization. https://github.com/openspug/spug * Copyright (c) * Released under the AGPL-3.0 License. */ import React from 'react'; import { Link } from 'react-router-dom'; import { Divider, Button } from 'antd'; import { hasPermission } from 'libs'; function canVisible(auth) { return !auth || hasPermission(auth) } class Action extends React.Component { static Link(props) { return } static Button(props) { return