feat: attribute prop
This commit is contained in:
@@ -3,6 +3,7 @@ import React, { createContext, useContext, useState } from 'react';
|
|||||||
interface SelectorObject {
|
interface SelectorObject {
|
||||||
selector: string;
|
selector: string;
|
||||||
tag?: string;
|
tag?: string;
|
||||||
|
attribute?: string;
|
||||||
// todo: allow for additional properties like what did user select for a, img, etc.
|
// todo: allow for additional properties like what did user select for a, img, etc.
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user