The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { styled } from '@linaria/react';
type GraphWidgetChartContainerProps = {
$isClickable?: boolean;
$cursorSelector?: string;
};
const StyledGraphWidgetChartContainer = styled.div<GraphWidgetChartContainerProps>`
flex: 1;
position: relative;
width: 100%;
${({ $isClickable, $cursorSelector }) =>
$isClickable && $cursorSelector
? `
${$cursorSelector} {
cursor: pointer;
}
`
: ''}
`;
export const GraphWidgetChartContainer = StyledGraphWidgetChartContainer;