mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
10.33.2019 abb1be365c62fe69ea36d199141bcf360992e196
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import PropTypes from 'prop-types';
 
function PageHeader({children}) {
    return (
        <div className={'pb-2 mt-4 mb-2 border-bottom pageheader'}>
            {children}
        </div>
    );
}
 
PageHeader.propTypes = {
    children: PropTypes.node
};
 
PageHeader.defaultProps = {
    validationState: 'no-validation',
    children: null
};
 
export {
    PageHeader
};