Header
This component can be used to show a header in a page template.
Usage
import Header from "@finanzchef24gmbh/design-system/src/Header";
Props
| Property name | Type | Required | Values | Default |
|---|---|---|---|---|
ekomiFlag | React.ReactNode | ✅ | EkomiFlag | - |
ekomiImageBig | React.ReactNode | ✅ | image | - |
ekomiImageSmall | React.ReactNode | ✅ | image | - |
guidanceStepper | React.ReactNode | GuidanceStepper | - | |
logoWithLink | React.ReactNode | link and image | - | |
phoneNumber | React.ReactNode | React Element | - |
- The
ekomiFlagshows the text in the Ekomi Badge. - The
ekomiImageBigis used in the ekomi part on desktop and tablet. - The
ekomiImageSmallis used in the ekomi part on mobile. - The
guidanceStepperis shown if showGuidanceStepper istrue. - The
logoWithLinkcan be used to show a different link and logo than the default settings. - The
phoneNumberis a react element
Example
<Header
ekomiFlag={<EkomiFlag>Top eKomi-Bewertungen</EkomiFlag>}
ekomiImageBig={
<IconCircle color="brand">
<CrownIcon color="brand" scale="huge" />
</IconCircle>
}
ekomiImageSmall={
<IconCircle color="brand">
<CrownIcon color="brand" scale="huge" />
</IconCircle>
}
/>
Top eKomi-Bewertungen