feat: attribute prop

This commit is contained in:
karishmas6
2024-08-04 03:07:15 +05:30
parent 5370bf9949
commit cee15d7379

View File

@@ -3,6 +3,7 @@ import React, { createContext, useContext, useState } from 'react';
interface SelectorObject {
selector: string;
tag?: string;
attribute?: string;
// todo: allow for additional properties like what did user select for a, img, etc.
[key: string]: any;
}