leumas-private-shared
Version:
Private React JSX Package For Leumas Shared Components, Headers, Footers, Asides, Login Pages, API Key Manager and much more. Styles and everything reusable to avoid DRY code across all of our subdomains
26 lines (25 loc) • 760 B
JSX
const images = [
{
src: "https://via.placeholder.com/150",
link: "https://example.com/page1",
altText: "Image 1",
text: "Optional text for Image 1",
textPosition: "bottom-center", // New property for text positioning
},
{
src: "https://via.placeholder.com/150",
link: "https://example.com/page2",
altText: "Image 2",
text: "Optional text for Image 2",
textPosition: "top-center",
},
{
src: "https://via.placeholder.com/150",
altText: "Image 3",
text: "Optional text for Image 3",
textPosition: "middle-center",
},
// Add more images as needed
];
export default images
// This is just an example Slider Configuration