mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
20 lines
436 B
TypeScript
20 lines
436 B
TypeScript
import Icon from "./Icon";
|
|
|
|
interface Props {
|
|
url: string;
|
|
className?: string;
|
|
}
|
|
|
|
const LearnMore = (props: Props) => {
|
|
const { url, className } = props;
|
|
|
|
return (
|
|
<a className={`${className || ""} text-sm text-blue-600 hover:opacity-80 hover:underline`} href={url} target="_blank">
|
|
Learn more
|
|
<Icon.ExternalLink className="inline -mt-1 ml-1 w-4 h-auto opacity-80" />
|
|
</a>
|
|
);
|
|
};
|
|
|
|
export default LearnMore;
|