mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-22 21:09:36 +02:00
import from up to date repo
This commit is contained in:
parent
35f5db62f2
commit
12baf72567
86 changed files with 12080 additions and 13746 deletions
|
@ -1,8 +1,7 @@
|
|||
import { Fragment } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
import classes from './ActionButton.module.css';
|
||||
import { Icon } from '../..';
|
||||
import classes from './ActionButton.module.css';
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
|
@ -13,12 +12,12 @@ interface Props {
|
|||
|
||||
export const ActionButton = (props: Props): JSX.Element => {
|
||||
const body = (
|
||||
<Fragment>
|
||||
<>
|
||||
<div className={classes.ActionButtonIcon}>
|
||||
<Icon icon={props.icon} />
|
||||
</div>
|
||||
<div className={classes.ActionButtonName}>{props.name}</div>
|
||||
</Fragment>
|
||||
</>
|
||||
);
|
||||
|
||||
if (props.link) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue