Skip to content

Conversation

@diptitiwari2917
Copy link
Collaborator

Reference

Add reference to a related issue that this pull request is addressing. For example, fixes #

Describe the pull request

Please describe the changes proposed in this pull request.

Contributors (in case of a commit with multiple authors)

Co-authors:

import { CssSummary } from "./components/cssSummary/CssSummary";
import { Tree } from "@atrilabs/forest";
import { BoxShadow } from "./components/box-shadow/BoxShadow";
import {ListStyle} from "./components/list-style/ListStyle";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is your linter not working? There must be a gap in between like this{ ListStyle }.

}
>((props, ref) => {
const { custom } = props;
console.log("disabled is", props.custom.disabled);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this console.log

e.stopPropagation(); // stop event propagation
return;
} else {
console.log("else");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log

() => <img src={props.custom?.expandIcon} alt={props.custom?.expandIcon} />,
[props.custom]
);
console.log("items", props.custom.items);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log

);
const { custom } = props;
const onChange = (currentSlide: number) => {
console.log(currentSlide);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should attach an onChange callback to the manifest of Carousel and call that here.

children: React.ReactNode[];
}
>((props, ref) => {
console.log("props.styles", props.styles);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove console.log

@cruxcode cruxcode merged commit 11405fe into Atri-Labs:main Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants