lijianan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
.dumi/theme/common/Color/Palette.tsx
|
|
@ -32,7 +32,7 @@ const Palette: React.FC<PaletteProps> = (props) => { |
|
|
|
showTitle, |
|
|
|
direction, |
|
|
|
dark, |
|
|
|
color: { name, count, description, english, chinese } = { name: 'gray', count: 13 }, |
|
|
|
color: { name, count = 10, description, english, chinese } = { name: 'gray', count: 13 }, |
|
|
|
} = props; |
|
|
|
const [hexColors, setHexColors] = React.useState<Record<PropertyKey, string>>({}); |
|
|
|
const colorNodesRef = React.useRef<Record<PropertyKey, HTMLDivElement>>({}); |
|
|
|