redux-devtools/packages/devui/src/utils/autoPrefix.ts
Nathan Bierema 727d753081
feature(devui): convert to TypeScript (#629)
* stash

* and those

* stash

* stash

* stash

* stash

* tests

* fix errors

* revert

* stash

* fix lint

* prettier
2020-09-09 10:35:22 -04:00

6 lines
154 B
TypeScript

export const prefixSelectors = (
tag: string,
selectors: string[],
style: string
) => selectors.map((selector) => `${tag}::-${selector} ${style}`);