I need help adjusting the header size in a React-Bootstrap Panel within a Typescript application. I've tried wrapping the text in <h1>
tags as specified in the documentation, but there seems to be no change.
Even with attempts to add inline styles or a CSS class to adjust the font size, nothing seems to work.
Below is the code snippet:
const title = (<h1>{Constants.gameTitle}</h1>);
<PanelGroup defaultActiveKey="1" accordion key="accordion1">
<Panel defaultExpanded header={title} className="changeFontSize" eventKey="1" bsSize="large" bsStyle="primary">
</Panel>
</PanelGroup>
Would appreciate any suggestions on how this could be achieved effectively?