New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alfabank/core-paragraph

Package Overview
Dependencies
Maintainers
8
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alfabank/core-paragraph

core-paragraph

2.1.6
npm
Version published
Weekly downloads
133
195.56%
Maintainers
8
Weekly downloads
 
Created
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

Package last updated on 17 Dec 2019

Did you know?

Socket

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