mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
We were stuck on react 16.x for a long time but dependencies seem to have caught up enough that migration is trivial now.
23 lines
505 B
TypeScript
23 lines
505 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2021-2023 The Pybricks Authors
|
|
|
|
// Icon for indicating external links
|
|
|
|
import { Icon } from '@blueprintjs/core';
|
|
import React from 'react';
|
|
|
|
import './external-link.scss';
|
|
|
|
const ExternalLinkIcon: React.FunctionComponent = () => {
|
|
return (
|
|
<span className="pb-external-link">
|
|
|
|
<sup>
|
|
<Icon icon="share" iconSize={12} />
|
|
</sup>
|
|
</span>
|
|
);
|
|
};
|
|
|
|
export default ExternalLinkIcon;
|