* Remove SUI modal * Update modal positioning * Clean up imports * Restore removed size * Add tests for Modal component * Add border radius to actions * Disable global scroll * Introduce ESC_KEYCODE const * Arrange props * Change components definitions * Change styled components to functional Co-authored-by: Jaco Greeff <jacogr@gmail.com>
18 lines
436 B
TypeScript
18 lines
436 B
TypeScript
// Copyright 2017-2021 @polkadot/react-components authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { ModalType } from './types';
|
|
|
|
import Actions from './Actions';
|
|
import ModalBase from './Base';
|
|
import Columns from './Columns';
|
|
import Content from './Content';
|
|
|
|
const Modal = ModalBase as unknown as ModalType;
|
|
|
|
Modal.Actions = Actions;
|
|
Modal.Columns = Columns;
|
|
Modal.Content = Content;
|
|
|
|
export default Modal;
|