Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 14, 2019
1 parent 594baa8 commit a3ea40d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/config-provider/index.tsx
Expand Up @@ -8,11 +8,7 @@ import LocaleProvider, { Locale, ANT_MARK } from '../locale-provider';
import LocaleReceiver from '../locale-provider/LocaleReceiver';
import { ConfigConsumer, ConfigContext, CSPConfig, ConfigConsumerProps } from './context';

export { RenderEmptyHandler };

export interface CSPConfig {
nonce?: string;
}
export { RenderEmptyHandler, ConfigConsumer, CSPConfig, ConfigConsumerProps };

export const configConsumerProps = [
'getPopupContainer',
Expand All @@ -22,7 +18,7 @@ export const configConsumerProps = [
'csp',
'autoInsertSpaceInButton',
'locale',
'pageHeaderType',
'pageHeader',
];

export interface ConfigProviderProps {
Expand Down

0 comments on commit a3ea40d

Please sign in to comment.