Skip to content

Commit 562088c

Browse files
authored
Update README.md
1 parent 5066da7 commit 562088c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ const cssText = extractStyle((node) => (
5252
));
5353
```
5454

55+
use with blacklist or whitelist
56+
57+
```tsx | pure
58+
import extractStyle from `@ant-design/static-style-extract`;
59+
60+
const cssText = extractStyle(); // :where(.css-bAMboOo).ant-btn ...
61+
62+
const cssText = extractStyle({
63+
includes: ['Button']
64+
});
65+
```
66+
5567
## Example
5668

5769
http://localhost:8000

0 commit comments

Comments
 (0)