try updating button-select

This commit is contained in:
lingdocs 2022-04-05 00:22:47 +05:00
parent 786e3855e9
commit 1a01b1ddc8
2 changed files with 24 additions and 28 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/pashto-inflector",
"version": "1.6.8",
"version": "1.6.9",
"author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com",

View File

@ -17,9 +17,7 @@ type PickerProps<T extends string> = {
}
function ButtonSelect<L extends string>(props: PickerProps<L>) {
return (
<div className="d-inline-flex flex-row justify-content-center">
<div className="btn-group">
return <div className="btn-group">
{props.options.map((option) => (
<button
key={option.value}
@ -42,8 +40,6 @@ function ButtonSelect<L extends string>(props: PickerProps<L>) {
</button>
))}
</div>
</div>
);
}
export default ButtonSelect;