mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
added format buttons
This commit is contained in:
parent
3fdbf6208b
commit
5cf3d22466
9 changed files with 158 additions and 15 deletions
|
@ -1,6 +1,9 @@
|
|||
import React, { HTMLAttributes } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
import classNames from 'classnames';
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {};
|
||||
|
||||
export const ButtonGroup = ({ children }: IProps) => <div className={styles.wrap}>{children}</div>;
|
||||
export const ButtonGroup = ({ children, className }: IProps) => (
|
||||
<div className={classNames(styles.wrap, className)}>{children}</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue