import React, { type ReactNode } from 'react';
import './GuidanceItem.css';

const GuidanceItem = ({
  description = '',
  children,
}: {
  description?: string;
  children: ReactNode | string;
}) => {
  return (
    <div className="guidance-item">
      <div className="guidance-item-description">{description}</div>
      <div className="guidance-item-configuration">{children}</div>
    </div>
  );
};

export default GuidanceItem;
