mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
51 lines
1.6 KiB
TypeScript
51 lines
1.6 KiB
TypeScript
import React, { FC } from 'react';
|
||
import { Card } from '~/components/containers/Card';
|
||
import styles from './styles.module.scss';
|
||
import markdown from '~/styles/common/markdown.module.scss';
|
||
import { Group } from '~/components/containers/Group';
|
||
import { Button } from '~/components/input/Button';
|
||
|
||
interface IProps {}
|
||
|
||
const BorisUIDemo: FC<IProps> = () => (
|
||
<Card className={styles.card}>
|
||
<div className={markdown.wrapper}>
|
||
<h1>UI</h1>
|
||
<p>
|
||
Простая демонстрация элементов интерфейса. Используется, в основном, как подсказка при
|
||
разработке
|
||
</p>
|
||
|
||
<h2>Кнопки</h2>
|
||
|
||
<h4>Цвета</h4>
|
||
|
||
<Group horizontal className={styles.sample}>
|
||
<Button>Primary</Button>
|
||
<Button color="secondary">Secondary</Button>
|
||
<Button color="outline">Outline</Button>
|
||
<Button color="gray">Gray</Button>
|
||
<Button color="link">Link</Button>
|
||
</Group>
|
||
|
||
<h4>Размеры</h4>
|
||
|
||
<Group horizontal className={styles.sample}>
|
||
<Button size="micro">Micro</Button>
|
||
<Button size="mini">Mini</Button>
|
||
<Button size="normal">Normal</Button>
|
||
<Button size="big">Big</Button>
|
||
<Button size="giant">Giant</Button>
|
||
</Group>
|
||
|
||
<h4>Варианты</h4>
|
||
<Group horizontal className={styles.sample}>
|
||
<Button iconRight="check">iconRight</Button>
|
||
<Button iconLeft="send">iconLeft</Button>
|
||
<Button round>Round</Button>
|
||
</Group>
|
||
</div>
|
||
</Card>
|
||
);
|
||
|
||
export { BorisUIDemo };
|