@uiw-admin/authorized
Version:
12 lines (11 loc) • 372 B
TypeScript
export declare const getAuthPath: (path?: string) => boolean;
/** 校验按钮权限 */
export interface AuthBtnProps {
/** 路径 */
path?: string;
/** 禁用 状态 展示 适用于 存在 disabled 属性的组件 */
disabled?: boolean;
children: JSX.Element;
}
declare const AuthBtn: (props: AuthBtnProps) => JSX.Element;
export default AuthBtn;