Skip to content

Commit 543eff3

Browse files
Merge pull request #99 from junaidmanzur/update-api-docs
Updated readme to include 'cxs.prefix' api function.
2 parents 842bab0 + 135a63c commit 543eff3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ Returns the rendered CSS string for static and server-side rendering.
251251

252252
Resets the cache for server-side rendering
253253

254+
### `cxs.prefix(val)`
255+
256+
Updates the default class name prefix with the value passed to this function.
257+
254258
### `cxs/component`
255259

256260
A [styled-components][sc]-like API for creating React components with cxs.

0 commit comments

Comments
 (0)