Socket
Socket
Sign inDemoInstall

@alfabank/core-paragraph

Package Overview
Dependencies
122
Maintainers
8
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @alfabank/core-paragraph

core-paragraph


Version published
Weekly downloads
32
increased by3100%
Maintainers
8
Install size
36.8 kB
Created
Weekly downloads
 

Readme

Source

Paragraph Component

Компонент параграфа используется для текстов на страницах сайта. Каждый блок текста – это параграф.

Установка

Добавить компонент в качестве зависимости проекта

npm install --save @alfabank/core-paragraph

или

yarn add @alfabank/core-paragraph

Пример использования

Импорт компонента
import Paragraph from '@alfabank/core-paragraph';
Использование в методе render вашего компонента/приложения
<Paragraph>Paragraph 4, theme 'white'</Heading>

Props компонента

proptyperequireddefaultdescription
sizeoneOf(['xs', 's', 'm', 'l', 'xl', 'xxl'])4Размер параграфа (['xs', 's', 'm', 'l', 'xl', 'xxl'])
themeoneOf(['white', 'blue'])whiteТема параграфа (['white', 'blue'])
childrenoneOfType([node, arrayOf(node)])yesДочерние элементы
classNamestring''Классы стилей

FAQs

Last updated on 17 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc