The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { styled } from '@linaria/react';
type GraphWidgetLegendDotProps = {
color: string;
className?: string;
};
const StyledDot = styled.div<{ color: string }>`
background: ${({ color }) => color};
border-radius: var(--t-border-radius-xs);
flex-shrink: 0;
height: 8px;
width: 8px;
`;
export const GraphWidgetLegendDot = ({
color,
className,
}: GraphWidgetLegendDotProps) => {
return <StyledDot color={color} className={className} />;
};