@financial-times/dotcom-ui-layout 7.3.0 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { THeaderOptions } from '@financial-times/dotcom-ui-header/component';
3
+ import { TNavigationData } from '@financial-times/dotcom-types-navigation';
4
+ import { TFooterOptions } from '@financial-times/dotcom-ui-footer/component';
5
+ declare enum Headers {
6
+ simple,
7
+ 'large-logo',
8
+ 'logo-only',
9
+ 'no-outbound-links'
10
+ }
11
+ declare enum Footers {
12
+ simple,
13
+ legal
14
+ }
15
+ export declare type TLayoutProps = {
16
+ navigationData?: TNavigationData;
17
+ headerOptions?: THeaderOptions;
18
+ headerBefore?: string | React.ReactNode;
19
+ headerVariant?: Headers | false;
20
+ headerComponent?: React.ReactNode;
21
+ headerAfter?: string | React.ReactNode;
22
+ footerOptions?: TFooterOptions;
23
+ footerBefore?: string | React.ReactNode;
24
+ footerVariant?: Footers | false;
25
+ footerComponent?: React.ReactNode;
26
+ footerAfter?: string | React.ReactNode;
27
+ children?: React.ReactNode;
28
+ contents?: string;
29
+ };
30
+ export declare function Layout({ navigationData, headerOptions, headerBefore, headerVariant, headerComponent, headerAfter, footerOptions, footerBefore, footerVariant, footerComponent, footerAfter, children, contents }: TLayoutProps): JSX.Element;
31
+ export declare namespace Layout {
32
+ var defaultProps: {
33
+ headerVariant: string;
34
+ footerVariant: string;
35
+ headerOptions: {};
36
+ footerOptions: {};
37
+ };
38
+ }
39
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type TTemplateProps = {
3
+ children?: string | React.ReactNode;
4
+ [rest: string]: any;
5
+ };
6
+ export default function Template(props: TTemplateProps): JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from './components/Layout';
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { THeaderOptions } from '@financial-times/dotcom-ui-header/component';
3
+ import { TNavigationData } from '@financial-times/dotcom-types-navigation';
4
+ import { TFooterOptions } from '@financial-times/dotcom-ui-footer/component';
5
+ declare enum Headers {
6
+ simple,
7
+ 'large-logo',
8
+ 'logo-only',
9
+ 'no-outbound-links'
10
+ }
11
+ declare enum Footers {
12
+ simple,
13
+ legal
14
+ }
15
+ export declare type TLayoutProps = {
16
+ navigationData?: TNavigationData;
17
+ headerOptions?: THeaderOptions;
18
+ headerBefore?: string | React.ReactNode;
19
+ headerVariant?: Headers | false;
20
+ headerComponent?: React.ReactNode;
21
+ headerAfter?: string | React.ReactNode;
22
+ footerOptions?: TFooterOptions;
23
+ footerBefore?: string | React.ReactNode;
24
+ footerVariant?: Footers | false;
25
+ footerComponent?: React.ReactNode;
26
+ footerAfter?: string | React.ReactNode;
27
+ children?: React.ReactNode;
28
+ contents?: string;
29
+ };
30
+ export declare function Layout({ navigationData, headerOptions, headerBefore, headerVariant, headerComponent, headerAfter, footerOptions, footerBefore, footerVariant, footerComponent, footerAfter, children, contents }: TLayoutProps): JSX.Element;
31
+ export declare namespace Layout {
32
+ var defaultProps: {
33
+ headerVariant: string;
34
+ footerVariant: string;
35
+ headerOptions: {};
36
+ footerOptions: {};
37
+ };
38
+ }
39
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type TTemplateProps = {
3
+ children?: string | React.ReactNode;
4
+ [rest: string]: any;
5
+ };
6
+ export default function Template(props: TTemplateProps): JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from './components/Layout';