From 44214cc5f616798cf2ff6fe12473bbfb3a732bfa Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Wed, 1 Sep 2021 23:44:14 +1000 Subject: [PATCH] add animations for Radio, Checkbox --- src/pages/Test.tsx | 19 +++++- src/theme/CheckboxIcon.tsx | 81 +++++++++++++++++++++++++ src/theme/CheckboxIndeterminateIcon.tsx | 76 +++++++++++++++++++++++ src/theme/RadioIcon.tsx | 65 ++++++++++++++++++++ src/theme/components.tsx | 21 ++++++- 5 files changed, 260 insertions(+), 2 deletions(-) create mode 100644 src/theme/CheckboxIcon.tsx create mode 100644 src/theme/CheckboxIndeterminateIcon.tsx create mode 100644 src/theme/RadioIcon.tsx diff --git a/src/pages/Test.tsx b/src/pages/Test.tsx index 014457af3..2a96ad2b6 100644 --- a/src/pages/Test.tsx +++ b/src/pages/Test.tsx @@ -28,6 +28,7 @@ import { Tooltip, FormControlLabel, Checkbox, + RadioGroup, Radio, Switch, TextField, @@ -192,6 +193,7 @@ export default function TestView() {