PromucFlow_constructor/app/client/src/components/ads/Checkbox.tsx
satbir121 3a4d900235
Button Component (#190)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* feedback changes added in button and icon component

* type any removed in button component

* function naming corrected

* Changing empty string to null

* Adding enum for DropdownDisplayType.

* Change Spinner path

* Fixing spinner issues.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-08-10 10:24:33 +05:30

15 lines
337 B
TypeScript

import { CommonComponentProps } from "./common";
type CheckboxProps = CommonComponentProps & {
label: string;
isChecked: boolean;
onCheckChange: (isChecked: boolean) => void;
isLoading: boolean;
align: "left" | "right";
cypressSelector?: string;
};
export default function Checkbox(props: CheckboxProps) {
return null;
}