The HeaderGroupOptionsIf interface is part of the TypeScript project,
and it's used as a type definition for the options of a header group component.
It includes the specifications for both the expanded and collapsed states of the said header group component.
This interface contains two properties:
iconExpanded: An IconIf interface definition for the icon shown when the header group is expanded.
iconCollapsed: An IconIf interface definition for the icon shown when the header group is collapsed.
Each of these properties, iconExpanded and iconCollapsed, is an object that adheres to the IconIf interface.
Therefore, they should include:
content: (type string) which represents the HTML content of the icon.
style: (type string) a string containing the CSS style to be applied to the icon.
classes: (type string[]) which is an array of CSS classes to be applied to the icon.
The
HeaderGroupOptionsIfinterface is part of the TypeScript project, and it's used as a type definition for the options of a header group component. It includes the specifications for both the expanded and collapsed states of the said header group component.This interface contains two properties:
iconExpanded: AnIconIfinterface definition for the icon shown when the header group is expanded.iconCollapsed: AnIconIfinterface definition for the icon shown when the header group is collapsed.Each of these properties,
iconExpandedandiconCollapsed, is an object that adheres to theIconIfinterface. Therefore, they should include:content: (typestring) which represents the HTML content of the icon.style: (typestring) a string containing the CSS style to be applied to the icon.classes: (typestring[]) which is an array of CSS classes to be applied to the icon.See
IconIf
Example