import{j as t}from"./index-6605a014.js";import{y as h,z as y,B as p,x as d}from"./Author-826c76c5.js";import"./react-e45097e1.js";import"./antd-6dbc138d.js";function S(){var i;const r=h(),l=y(),o=p(),[a,u,c,m]=d(["title","links","link","link@hover"]);return t.jsxs("dl",{style:{margin:0,padding:0,...u},children:[l.title&&t.jsx("dt",{style:{lineHeight:2,...a},children:l.title}),(i=l.links)==null?void 0:i.map((e,s)=>{const n={lineHeight:2,color:"#000",textDecoration:"none",...c,...o[`hover.${s}`]&&m};return t.jsx("dd",{style:{margin:0},onMouseEnter:()=>{r.setState({[`hover.${s}`]:!0})},onMouseLeave:()=>{r.setState({[`hover.${s}`]:!1})},children:e.url?t.jsx("a",{style:n,href:e.url,children:e.title}):t.jsx("span",{style:n,children:e.title})},s)})]})}S.title="链接列表";export{S as default};
