Skip to content

Commit

Permalink
Merge pull request #211 from Financial-Times/ispodcast-indicator
Browse files Browse the repository at this point in the history
Add isPodcast indicator
  • Loading branch information
debugwand authored Oct 24, 2018
2 parents 80cc215 + 3b3bfd7 commit d625bee
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 d625bee

Please sign in to comment.