UNPKG

@brizy/ui

Version:
9 lines (8 loc) 363 B
import { classNames } from "../classNamesFn"; import React from "react"; export const Option = ({ title, disabled, onClick }) => { const className = classNames()("editable-select-extra-option", { "editable-select-extra-option__disabled": disabled, }); return (React.createElement("div", { className: className, onClick: onClick }, title)); };