atrilabs-engine icon indicating copy to clipboard operation
atrilabs-engine copied to clipboard

Add a Ordered List Component

Open adityaxpique opened this issue 3 years ago • 3 comments

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

adityaxpique avatar Oct 08 '22 07:10 adityaxpique

Hello, could I work on this issue.

data2kinyungu avatar Oct 12 '22 02:10 data2kinyungu

Thank you. Working on it.

data2kinyungu avatar Oct 12 '22 03:10 data2kinyungu

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.

data2kinyungu avatar Oct 19 '22 23:10 data2kinyungu