perf: ssr

This commit is contained in:
archer
2023-06-13 20:07:32 +08:00
parent 89e7c1abca
commit 391332c8dd
8 changed files with 53 additions and 46 deletions

View File

@@ -25,6 +25,7 @@ const Radio = ({ list, value, onChange, ...props }: Props) => {
mr: 1,
borderRadius: '16px',
transition: '0.2s',
boxSizing: 'border-box',
...(value === item.value
? {
border: '5px solid',