A set of React components for building rich web applications.
npm install --save-dev @gravity-ui/uikit
import React from 'react';
import {Button} from '@gravity-ui/uikit';
const SubmitButton = <Button view="action" size="l" />;
Some components contain prepared text. For changing language use configure
function. Default language is en
.
index.js
import {configure} from '@gravity-ui/uikit';
configure({
lang: 'ru',
});
To start the dev storybook
npm run start