Global

Members

(constant) getExperienceLabel

Description:
  • Determines the experience label and type based on the selected year within a period string. Parses the given period string to extract start and end years, then compares with the selected year. Returns an object with a localized label and a type indicating whether the year is at the start, end, or the only year of the experience period.
Source:
Determines the experience label and type based on the selected year within a period string. Parses the given period string to extract start and end years, then compares with the selected year. Returns an object with a localized label and a type indicating whether the year is at the start, end, or the only year of the experience period.

Methods

BrandIcon(props) → {JSX.Element|null}

Description:
  • BrandIcon renders an SVG icon from the simple-icons set or custom SVG data.
Source:
Parameters:
Name Type Description
props object Component props.
Properties
Name Type Attributes Default Description
icon object Icon object containing `svg` string.
color string Fill color for the SVG.
className string <optional>
Additional CSS classes.
size number <optional>
24 Width and height of the icon.
Returns:
SVG element or null if no valid icon.
Type
JSX.Element | null