import React from "react";
import { RadioGroup } from "../radio/RadioGroup";
export const FacetRadio = ({ radioArr, layout, name, selected, setSelected, className, }) => {
    const divClass = className ? `facet-radio ${className}` : "facet-radio";
    return (React.createElement("div", { className: divClass },
        React.createElement(RadioGroup, { setSelected: setSelected, selected: selected, name: name, radioArr: radioArr, layout: layout })));
};
