Skip to content

Commit

Permalink
Merge pull request #161 from kreuzerk/feature/constant-docs
Browse files Browse the repository at this point in the history
docs(constants): update docs for generated constants
  • Loading branch information
nivekcode authored Mar 20, 2022
2 parents a3c8892 + e6b2d66 commit 7caadea
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,19 +315,31 @@ and we end up with the following file in our `dist` folder.
#### Sample ouput

```javascript
export const myIconExpressionLess: MyIcon = {
export const myIconExpressionLess: {
name: 'expression_less',
data: string
} = {
name: 'expression_less',
data: `<svg xmlns="http://...`
};
export const myIconFull: MyIcon = {
export const myIconFull: {
name: 'full',
data: string
} = {
name: 'full',
data: `<svg xmlns="http://www...`
};
export const myIconLaughing: MyIcon = {
export const myIconLaughing: {
name: 'laughing',
data: string
} = {
name: 'laughing',
data: `<svg xmlns="http://www.w...`
};
export const myIconSmilingFace: MyIcon = {
export const myIconSmilingFace: {
name: 'smiling_face',
data: string
} = {
name: 'smiling_face',
data: `<svg xmlns="http://www.w3...`
};
Expand Down

0 comments on commit 7caadea

Please sign in to comment.