insomnia/packages/insomnia-app/app/ui/components/base/modal-footer.tsx
2021-07-23 11:04:56 +12:00

19 lines
427 B
TypeScript

import classnames from 'classnames';
import React, { PureComponent, ReactNode } from 'react';
interface Props {
className?: string;
children: ReactNode;
}
class ModalFooter extends PureComponent<Props> {
render() {
const { children, className } = this.props;
return (
<div className={classnames('modal__footer theme--dialog__footer', className)}>{children}</div>
);
}
}
export default ModalFooter;