Skip to content

The open alternative to Salesforce, designed for AI.

562 B
Raw Blame
import IconRelationManyToOneRaw from '@assets/icons/many-to-one.svg?react';
import { type IconComponentProps } from '@ui/icon/types/IconComponent';
import { useTheme } from '@ui/theme';

type IconRelationManyToOneProps = Pick<IconComponentProps, 'size' | 'stroke'>;

export const IconRelationManyToOne = (props: IconRelationManyToOneProps) => {
  const theme = useTheme();
  const size = props.size ?? 24;
  const stroke = props.stroke ?? theme.icon.stroke.md;

  return (
    <IconRelationManyToOneRaw height={size} width={size} strokeWidth={stroke} />
  );
};