@foundation-base/timeline
Base timeline component for foundation
Props
data: info[]
The data
prop is to pass the data for the timeline component, as an array of objects of type info
.
type role = {
id: number;
roleName: string;
startDate: string;
endDate: string;
roleExperience: string;
};
type info = {
id: number;
companyLogo: string;
companyName: string;
experience: string;
roleInfo: role[];
};
Install
npm install --save @foundation-base/timeline
License
MIT © lijoejohn