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

Kai Reinhard
09.44.2019 3aecd74a7982ebea9ab5ac10ee8847e7268cd982
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
};