PromucFlow_constructor/app/client/src/components/ads/Text.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

12 lines
244 B
TypeScript

import React from "react";
export type TextProps = {
type: "p1" | "p2" | "p3" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
underline: boolean;
italic: boolean;
};
export default function Text(props: TextProps) {
return <span></span>;
}