@tinkoff/layout-factory
TypeScript icon, indicating that this package has built-in type declarations

0.3.8 • Public • Published

@tinkoff/layout-factory

Installation

Install @tinkoff/layout-factory using your package manager, e.g. for npm:

npm i @tinkoff/layout-factory

Create new layout object

import React from 'react';
import { createLayout } from '@tinkoff/layout-factory';
import { Content, Page, Feedback } from './components';
import { layoutWrapper, feedbackWrapper } from './wrappers';

const MyLayout = createLayout({
  components: {
    page: Page,
    content: Content,
    feedback: Feedback,
  },
  wrappers: {
    layout: layoutWrapper,
    feedback: feedbackWrapper,
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @tinkoff/layout-factory

Weekly Downloads

130

Version

0.3.8

License

Apache-2.0

Unpacked Size

8.32 kB

Total Files

12

Last publish

Collaborators

  • yeahga
  • sradyukov
  • hondasmx
  • makar_l
  • tinkoffbank
  • dmitry-korolev
  • rouland
  • ishivan
  • ytsareva
  • shoom3301
  • waterplea
  • meskill
  • marsibarsi
  • zig-green
  • super_oleg
  • dersizes
  • alexkvak