Skip to content

Commit

Permalink
feat: #648 - enabled any css selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Erta committed Jan 31, 2023
1 parent 19852e1 commit d1cc87e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ export const BorderCard: React.FC<Props> = ({
'colors',
(isBorders ? themeValue.color : filters?.colors || '') as Color,
);

const style = useStyle({
[propertiesMap[mainSlice]]: detailKey as Border,
[propertiesMap[mainSlice] as any]: detailKey as Border,
});

const contrastRatio = useMemo(() => {
Expand Down

0 comments on commit d1cc87e

Please sign in to comment.