import React from "react";

export function Fieldset({ className = "", children, ...props }) {
  return <fieldset className={["o-fieldset", className].filter(Boolean).join(" ")} data-slot="fieldset" {...props}>{children}</fieldset>;
}
export function FieldsetLegend({ className = "", children, ...props }) {
  return <legend className={["o-fieldset__legend", className].filter(Boolean).join(" ")} data-slot="fieldset-legend" {...props}>{children}</legend>;
}
