import * as React from 'react'; import { Link as ReactLink } from 'react-router-dom'; import styled from '@emotion/styled'; import { Chip } from '@/ui/chip/components/Chip'; import { ChipSize, ChipVariant } from '@/ui/chip/components/Chip'; type OwnProps = { href: string; children?: React.ReactNode; onClick?: (event: React.MouseEvent) => void; }; const StyledClickable = styled.div` overflow: hidden; white-space: nowrap; a { color: inherit; text-decoration: none; } `; export function RoundedLink({ children, href, onClick }: OwnProps) { return (
{children !== '' ? ( ) : ( <> )}
); }