mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
19 lines
427 B
TypeScript
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;
|