JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "bullet-seprated-items.tsx"

Full Path: /home/markqprx/iniasli.pro/resources/client/ui/bullet-seprated-items.tsx
File size: 613 bytes
MIME-type: text/plain
Charset: utf-8

import React, {Children, Fragment, ReactNode} from 'react';
import clsx from 'clsx';

interface BulletSeparatedItemsProps {
  children: ReactNode;
  className?: string;
}

export function BulletSeparatedItems({
  children,
  className,
}: BulletSeparatedItemsProps) {
  const items = Children.toArray(children);
  return (
    <div className={clsx('flex items-center gap-4 overflow-hidden', className)}>
      {items.map((child, index) => (
        <Fragment key={index}>
          <div>{child}</div>
          {index < items.length - 1 ? <div>&bull;</div> : null}
        </Fragment>
      ))}
    </div>
  );
}