import React from 'react'; import styled from 'styled-components'; import type { IconProps } from '@redocly/theme/icons/types'; import { getCssColorVariable } from '@redocly/theme/core/utils'; const Icon = (props: IconProps) => ( ); export const LinkIcon = styled(Icon).attrs({ 'data-component-name': 'icons/LinkIcon/LinkIcon', })` path:last-of-type { fill: ${({ color }) => getCssColorVariable(color)}; } height: ${({ size }) => size || '20px'}; width: ${({ size }) => size || '20px'}; `;