3 lines
89 B
JavaScript
3 lines
89 B
JavaScript
|
export const addClass = (element, className) => {
|
||
|
element.classList.add(className)
|
||
|
};
|