Returns the current heading level.
This hook should be used in the title property of a TitledSection or in that component's children.
If you use it outside of a TitledSection, it will throw an error by default.
You can set required: false to make it return undefined instead of throwing an error
Returns the current heading level.
This hook should be used in the title property of a TitledSection or in that component's children.
If you use it outside of a TitledSection, it will throw an error by default.
You can set required: false to make it return undefined instead of throwing an error
Returns the current heading level.
This hook should be used in the
titleproperty of a TitledSection or in that component's children. If you use it outside of a TitledSection, it will throw an error by default. You can setrequired: falseto make it returnundefinedinstead of throwing an error