The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem';
import { type NavigationDrawerItemProps } from '@/ui/navigation/navigation-drawer/types/NavigationDrawerItemProps';
type NavigationDrawerSubItemProps = NavigationDrawerItemProps;
export const NavigationDrawerSubItem = ({
className,
label,
secondaryLabel,
Icon,
to,
onClick,
active,
modifier,
subItemState,
rightOptions,
isDragging,
isSelectedInEditMode,
triggerEvent,
variant,
}: NavigationDrawerSubItemProps) => {
return (
<NavigationDrawerItem
className={className}
label={label}
secondaryLabel={secondaryLabel}
indentationLevel={2}
subItemState={subItemState}
Icon={Icon}
to={to}
onClick={onClick}
active={active}
modifier={modifier}
rightOptions={rightOptions}
isDragging={isDragging}
isSelectedInEditMode={isSelectedInEditMode}
triggerEvent={triggerEvent}
variant={variant}
/>
);
};