Atri-Labs / atrilabs-engine

🧘‍♂️ Open-source no-code & code web app builder
https://atrilabs.com
GNU General Public License v3.0
4.13k stars 180 forks source link

Add a Ordered List Component #260

Open adityaxpique opened 2 years ago

adityaxpique commented 2 years ago

The signature of unordered list component should be as follows:-

type OrderedListProps = {
       styles: React.CSSProperties;
       custom: { 
        //The type attribute for the ordered list
        type: string; 
        //Title of the list
        title: string;
       values: {
        listItem: string;
        listItemUrl?: string;
       }[]; 
    };
};

export const OrderedList: React.FC<OrderedListProps> = React.forwardRef(
  (ref, props) => {
    return <div></div>;
  }
);

The design reference- The type will be before the list item for both unordered and ordered lists. Screenshot 2022-10-06 163657

ghost commented 2 years ago

Hello, could I work on this issue.

ghost commented 2 years ago

Thank you. Working on it.

ghost commented 1 year ago

Hello cruxcode,

I have checked on this issue, should I add a folder in the react-component-manifests or should I add to react-component-manifest-schema to implement the functionality.