Skip to content

Commit

Permalink
docs(icon): add inherit-color prop to api documentation in component …
Browse files Browse the repository at this point in the history
…readme

affects: @rei/cdr-icon
  • Loading branch information
darintrimillos committed Dec 11, 2018
1 parent 762fcf7 commit 9b0ed27
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/components/icon/README.md
Expand Up @@ -18,8 +18,8 @@ For the most up-to-date information, see [REI Cedar documentation](https://rei.g

| name | type | default |
|:--------------------------------------------------------------------------|:-------|:-------------------|
| modifier | string | N/A |
| Modifies the style variant fot this component. Possible values: { 'inherit-color' } | | |
| inherit-color | boolean | none |
| Sets icon fill color to 'inherit'. | | |

## Slots

Expand Down Expand Up @@ -234,12 +234,3 @@ Use any valid SVG markup in the CdrIcon slot.
</script>
```

## Modifiers

Following variants are available to the `cdr-icon` modifier attribute:
| Value | Description |
|:------|:-----------------------|
| 'small' | Sets icon size to 16px |
| 'medium' | Sets icon size to 24px |
| 'large' | Sets icon size to 32px |

0 comments on commit 9b0ed27

Please sign in to comment.