mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
573eaa503d
* update `docs.json` * add snippet * update nav * add llms.txt page * update assistant title * add contextual menu page * add markdown export page * remove ai-ingestion page * reviewer feedback
7 lines
299 B
React
7 lines
299 B
React
export const PreviewButton = ({ children, href }) => {
|
|
return (
|
|
<a href={href} className="text-sm font-medium text-white dark:!text-zinc-950 bg-zinc-900 hover:bg-zinc-700 dark:bg-zinc-100 hover:dark:bg-zinc-300 rounded-full px-3.5 py-1.5 not-prose">
|
|
{children}
|
|
</a>
|
|
)
|
|
} |