Statistics
Statistics section provides the data related to the visiting website and its related projects.

Usage
npm i react-hartan
Customization With Props
statsBlockData-> Accepts an array of objects, where each element has the following structure:
statisticsHeading-> Accepts a string value, used as the section heading.statisticsHeadingAbout-> Accepts a string value, used as the section paragraph content.imgSrc-> Accepts a string value, source link for the image shown in the statistics section.imgState-> Accepts a boolean value, to show or hide the image based on user input.imgAlt-> Accepts an image alt.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".userStatisticsStyle-> Accepts class name(s) as string, custom styling prop for the full section container.userStatsContentStyle-> Accepts class name(s) as string, custom styling prop for the container containing heading, paragraph and statistics data content.userStatsBlocksStyle -> Accepts class name(s) as string, custom styling prop for the container containing statistics data.
Component Code
This is the code for the Statistics component.
Last updated