This commit is contained in:
lingdocs 2021-11-03 18:18:38 -04:00
parent 882a6c3243
commit 44fc1323a4
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -34,7 +34,7 @@ function ButtonSelect<L extends string>(props: PickerProps<L>) {
style={{ style={{
...props.xSmall ? ...props.xSmall ?
{ fontSize: "small" }: {}, { fontSize: "small" }: {},
...option.color ? ...(option.color && (props.value === option.value)) ?
{ backgroundColor: option.color } : {}, { backgroundColor: option.color } : {},
}} }}
> >