/** * Copyright (c) 2021 lingdocs.com * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import classNames from "classnames"; type PickerProps = { options: { label: any, value: T, color?: string }[], value: T, handleChange: (payload: T) => void, small?: boolean, xSmall?: boolean, } function ButtonSelect(props: PickerProps) { return
{props.options.map((option) => ( ))}
} export default ButtonSelect;