import React from 'react';
import { ConfigProvider, message } from 'antd';

/** Test usage. Do not use in your production. */
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPanel } = message;

export default () => (
  <ConfigProvider
    theme={{
      components: {
        Message: {
          contentPadding: 40,
          contentBg: '#e6f4ff',
        },
      },
    }}
  >
    <InternalPanel content="Hello World!" type="error" />
  </ConfigProvider>
);
