Skip to content

Commit

Permalink
Add isPodcast indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
debugwand committed Oct 24, 2018
1 parent 80cc215 commit 3b3bfd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/x-teaser/Props.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export interface Indicators {
accessLevel: 'premium' | 'subscribed' | 'registered' | 'free';
isOpinion?: boolean;
isColumn?: boolean;
isPodcast?: boolean;
/** Methode packaging options */
isEditorsChoice?: boolean;
isExclusive?: boolean;
Expand Down
1 change: 1 addition & 0 deletions components/x-teaser/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ Property | Type | Notes
`accessLevel` | String | "premium", "subscribed", "registered", or "free"
`isOpinion` | Boolean |
`isColumn` | Boolean |
`isPodcast` | Boolean |
`isEditorsChoice` | Boolean |
`isExclusive` | Boolean |
`isScoop` | Boolean |
Expand Down
1 change: 1 addition & 0 deletions components/x-teaser/stories/knobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ module.exports = (data, { object, text, number, boolean, date, selectV2 }) => {
accessLevel: selectV2('Access level', ['free', 'registered', 'subscribed', 'premium'], data.indicators.accessLevel || 'free', Groups.Indicators),
isOpinion: boolean('Is opinion', data.indicators.isOpinion, Groups.Indicators),
isColumn: boolean('Is column', data.indicators.isColumn, Groups.Indicators),
isPodcast: boolean('Is podcast', data.indicators.isPodcast, Groups.Indicators),
isEditorsChoice: boolean('Is editor\'s choice', data.indicators.isEditorsChoice, Groups.Indicators),
isExclusive: boolean('Is exclusive', data.indicators.isExclusive, Groups.Indicators),
isScoop: boolean('Is scoop', data.indicators.isScoop, Groups.Indicators)
Expand Down

0 comments on commit 3b3bfd7

Please sign in to comment.