You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** This text will be used as the h2 shown in the left column for the section */
@@ -31,7 +30,7 @@ type Props = {
31
30
url?: string;
32
31
/** The html `id` property of the element */
33
32
sectionId?: string;
34
-
collectionId?: string;
33
+
// collectionId?: string;
35
34
pageId?: string;
36
35
/** Defaults to `true`. If we should render the top border */
37
36
showTopBorder?: boolean;
@@ -55,10 +54,6 @@ type Props = {
55
54
* If used, this can be either "Primary" or "Secondary", both of which have different styles */
56
55
containerLevel?: DCRContainerLevel;
57
56
/** Fronts containers spacing rules vary depending on the size of their container spacing which is derived from if the next container is a primary or secondary. */
58
-
isNextCollectionPrimary?: boolean;
59
-
/** Defaults to `false`. If true a Hide button is show top right allowing this section
60
-
* to be collapsed
61
-
*/
62
57
toggleable?: boolean;
63
58
/** Defaults to `false`. If true and `editionId` is also passed, then a date string is
64
59
* shown under the title. Typically only used on Headlines containers on fronts
@@ -68,30 +63,9 @@ type Props = {
68
63
editionId: EditionId;
69
64
/** A list of related links that appear in the bottom of the left column on fronts */
70
65
treats?: TreatType[];
71
-
/** Enable the "Show More" button on this container to allow readers to load more cards */
72
-
canShowMore?: boolean;
73
-
ajaxUrl?: string;
74
-
/** Puts pagination at the bottom of the container allowing the user to navigate to other pages,
75
-
* usually used on the last container on a page */
76
-
pagination?: TagPagePagination;
77
-
/** Indicates if the page has a page skin advert
78
-
* When a page skin advert is active:
79
-
* - containers are constrained to a max width of 'desktop'
80
-
* - media queries above desktop are not applied
81
-
* - if no background colour is specified use the default body background colour to prevent
82
-
* the page skin background showing through the containers
83
-
*/
84
-
hasPageSkin?: boolean;
85
-
discussionApiUrl: string;
86
66
collectionBranding?: CollectionBranding;
87
67
isTagPage?: boolean;
88
68
hasNavigationButtons?: boolean;
89
-
isAboveDesktopAd?: boolean;
90
-
isAboveMobileAd?: boolean;
91
-
/** Indicates whether this is a Guardian Labs container */
0 commit comments