framework-entersol-web
Version:
Framework based on bootstrap 5
16 lines (12 loc) • 338 B
JSX
import React from "react";
import View from "./view";
export default class TitleView extends View {
static jsClass = 'TitleView';
content(children = this.props.children) {
const { label, labelClasses } = this.props;
return (<>
<h1 className={labelClasses}>{label}</h1>
{super.content(children)}
</>);
}
}