Before repair nav components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
This commit is contained in:
12
components/discarted/carousel.js
Normal file
12
components/discarted/carousel.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// components/Carousel.js
|
||||
import { h } from "sigpro";
|
||||
|
||||
export const Carousel = (props, children) => {
|
||||
children === undefined && (children = props, props = {});
|
||||
return h("div", { ...props, class: `carousel ${props.class ?? ''}` }, children);
|
||||
};
|
||||
|
||||
export const CarouselItem = (props, children) => {
|
||||
children === undefined && (children = props, props = {});
|
||||
return h("div", { ...props, class: `carousel-item ${props.class ?? ''}` }, children);
|
||||
};
|
||||
Reference in New Issue
Block a user