Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes forNew Antd Components and Refactor Ones #727

Merged
merged 5 commits into from
Mar 16, 2023

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:

@@ -24,6 +24,7 @@ import { getAliasList } from "./utils";
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

@@ -34,6 +41,7 @@ const Accordion = forwardRef<
() => <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.

className?: string;
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants