import { COLORS, Dropdown, Flex, Hide, IconArrowUpRightMini, IconEditMini, IconTrashMini, Item, Show, SubtleButton, SubtleButtonLink } from "@heydovetail/ui-components"; import React from "react"; import { styled } from "typestyle-react"; interface Props { editable: boolean; onEditClick: () => void; onRemoveClick: () => void; url: string; } export class LinkEditorPanel extends React.PureComponent { public render() { const { editable, onEditClick, onRemoveClick, url } = this.props; const location = { internal: false as false, url, openInNewTab: true }; return ( {url} ); } } const Panel = styled("div", { color: COLORS.i60, maxWidth: "320px" }); const Inner = styled("div", { padding: "0 8px" }); const Url = styled("div", { color: COLORS.purple, fontWeight: 500 });