export const permissionKinds = [
  ["menu", "菜单"],
  ["button", "按钮"],
  ["api", "接口"]
];

export function kindLabel(kind) {
  return permissionKinds.find(([value]) => value === kind)?.[1] || kind;
}
