@ebay/ebayui-core
Version:
Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.
11 lines (10 loc) • 431 B
TypeScript
/**
* Create object of HTML attributes for pass-through to the DOM
* All fields in ignore will be skipped. This should generally match with the marko.json
* input fields so that duplicate/unwanted attributes will not be rendered
*/
declare function processHtmlAttributes(input: {
htmlAttributes?: Record<string, any>;
[key: string]: any;
}, ignore?: string[]): Record<string, string>;
export { processHtmlAttributes };