Browse Source

chore: use the same camelCase (#43371)

pull/43375/head
thinkasany 1 year ago
committed by GitHub
parent
commit
1d01a1f681
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .dumi/theme/common/Color/ColorPalettes.tsx

4
.dumi/theme/common/Color/ColorPalettes.tsx

@ -1,4 +1,4 @@
import classnames from 'classnames'; import classNames from 'classnames';
import React from 'react'; import React from 'react';
import Palette from './Palette'; import Palette from './Palette';
@ -80,7 +80,7 @@ const colors = [
const ColorPalettes: React.FC<{ dark?: boolean }> = (props) => { const ColorPalettes: React.FC<{ dark?: boolean }> = (props) => {
const { dark } = props; const { dark } = props;
return ( return (
<div className={classnames('color-palettes', { 'color-palettes-dark': dark })}> <div className={classNames('color-palettes', { 'color-palettes-dark': dark })}>
{colors.map((color) => ( {colors.map((color) => (
<Palette key={color.name} color={color} dark={dark} showTitle /> <Palette key={color.name} color={color} dark={dark} showTitle />
))} ))}

Loading…
Cancel
Save