mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-17 04:34:21 +00:00
19 lines
424 B
TypeScript
19 lines
424 B
TypeScript
import React from "react"
|
|
import { VSCodeButton } from "@vscode/webview-ui-toolkit/react"
|
|
|
|
interface VSCodeButtonLinkProps {
|
|
href: string
|
|
children: React.ReactNode
|
|
[key: string]: any
|
|
}
|
|
|
|
export const VSCodeButtonLink = ({ href, children, ...props }: VSCodeButtonLinkProps) => (
|
|
<a
|
|
href={href}
|
|
style={{
|
|
textDecoration: "none",
|
|
color: "inherit",
|
|
}}>
|
|
<VSCodeButton {...props}>{children}</VSCodeButton>
|
|
</a>
|
|
)
|