Compare commits

...

6 Commits

Author SHA1 Message Date
Bagatur
20772740c0 wip 2024-05-23 14:42:06 -07:00
Bagatur
8d71e50c6e wip 2024-05-23 14:10:16 -07:00
Bagatur
b0809136af wip 2024-05-23 14:08:32 -07:00
Bagatur
c0b2ac0ceb wip 2024-05-23 14:06:23 -07:00
Bagatur
03fc46664a Merge branch 'master' into docs-format-api-ref 2024-05-23 13:57:58 -07:00
leo-gan
37289fcae1 changes 2024-05-03 17:46:05 -07:00

View File

@@ -16,18 +16,14 @@ function Imports({ imports }) {
borderBottomRightRadius: "var(--ifm-code-border-radius)",
}}
>
<h4 style={{ paddingLeft: "0.65rem", marginBottom: "0.45rem" }}>
<b style={{ paddingLeft: "0.65rem", marginBottom: "0.45rem", marginRight: "0.5rem" }}>
API Reference:
</h4>
<ul style={{ paddingBottom: "1rem" }}>
{imports.map(({ imported, source, docs }) => (
<li key={imported}>
<a href={docs}>
<span>{imported}</span>
</a>
</li>
</b>
{imports.map(({ imported, source, docs }, index) => (
<span key={imported}>
<a href={docs}>{imported}</a>{index < imports.length - 1 ? ' | ' : ''}
</span>
))}
</ul>
</div>
);
}