Skip to content

Commit

Permalink
doc: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arkarlov committed Sep 15, 2024
1 parent 7690240 commit b126bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ Converts a single `CSSProperties` object to a CSS string. Automatically adds uni

When set `important` argument to `true`, appends `!important` to each CSS property in the resulting string. Default is `false`.

#### `stringifyStyleMap(styles: Record<string, CSSProperties>, important?: boolean): string`
#### `stringifyStyleMap(styles: StyleMap, important?: boolean): string`

Converts a `Record<string, CSSProperties>` object to a CSS string, suitable for use in `<style>` tags or inline CSS.
Converts a `StyleMap` object to a string.

When set `important` argument to `true`, appends `!important` to each CSS property in the resulting string. Default is `false`.

Expand Down

0 comments on commit b126bbb

Please sign in to comment.