mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Refactor components. Add refresh button.
This commit is contained in:
parent
d0ca0819c6
commit
d06c077019
12 changed files with 85 additions and 56 deletions
7
components/common/RefreshButton.js
Normal file
7
components/common/RefreshButton.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
import Button from './Button';
|
||||
import Refresh from 'assets/redo.svg';
|
||||
|
||||
export default function RefreshButton({ onClick }) {
|
||||
return <Button icon={<Refresh />} size="small" onClick={onClick} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue