maomao
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
components/divider/index.tsx
-
components/empty/empty.tsx
-
components/empty/simple.tsx
|
|
@ -57,7 +57,7 @@ const Divider: React.FC<DividerProps> = (props) => { |
|
|
|
rootClassName, |
|
|
|
); |
|
|
|
|
|
|
|
const innerStyle = { |
|
|
|
const innerStyle: React.CSSProperties = { |
|
|
|
...(hasCustomMarginLeft && { marginLeft: orientationMargin }), |
|
|
|
...(hasCustomMarginRight && { marginRight: orientationMargin }), |
|
|
|
}; |
|
|
|
|
|
@ -2,7 +2,7 @@ import { TinyColor } from '@ctrl/tinycolor'; |
|
|
|
import * as React from 'react'; |
|
|
|
import { useToken } from '../theme/internal'; |
|
|
|
|
|
|
|
const Empty = () => { |
|
|
|
const Empty: React.FC = () => { |
|
|
|
const [, token] = useToken(); |
|
|
|
|
|
|
|
const bgColor = new TinyColor(token.colorBgBase); |
|
|
|
|
|
@ -3,7 +3,7 @@ import * as React from 'react'; |
|
|
|
import { useMemo } from 'react'; |
|
|
|
import { useToken } from '../theme/internal'; |
|
|
|
|
|
|
|
const Simple = () => { |
|
|
|
const Simple: React.FC = () => { |
|
|
|
const [, token] = useToken(); |
|
|
|
|
|
|
|
const { colorFill, colorFillTertiary, colorFillQuaternary, colorBgContainer } = token; |
|
|
|