Team

A section which is used to introduce the individuals to site visitors showcasing the highlights of those personnels.

Preview

Usage

npm i react-hartan

Customization With Props

  • memberList -> Accepts an array of object, each element of the structure:

NOTE: Keep the keys of the object same as above.

  • teamSectionHeading -> Accepts a string value, used as the section heading.

  • teamSectionContent -> Accepts a string value, paragraph content below the section heading.

  • imgState -> Accepts a boolean value, used to show or hide image based on user input.

  • id -> The id prop is similar to the id attribute in HTML. It allows to provide overall component id.

  • imgLoad -> The imgLoad prop is mapped to the loading attribute in HTML img tag. It allows to provide overall the value for loading attribute, "lazy" | "eager".

  • userTeamStyle -> Accepts class name(s) as string, custom styling prop for the team section container.

  • userTeamDetailsCaptionStyle -> Accepts class name(s) as string, custom styling prop for the container containing heading and content.

  • userTeamMembersStyle -> Accepts class name(s) as string, custom styling prop for the container containing each member card.

  • userTeamMemberCardStyle -> Accepts class name(s) as string, custom styling prop for each card inside the team member container.

  • userTeamMemberNameStyle -> Accepts class name(s) as string, custom styling prop for the name text of the member.

  • userTeamMemberPositionStyle -> Accepts class name(s) as string, custom styling prop for the designation text of the member.

Component Code

This is the code for the Team component.

Last updated