mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-04 16:57:52 +00:00
Extend interface
This commit is contained in:
parent
34d8f2f844
commit
72e47ab38e
@ -1,13 +1,14 @@
|
||||
import { useTheme } from '@mui/material';
|
||||
import { SVGProps } from './interfaces';
|
||||
|
||||
// TODO: extend interface
|
||||
export const SaveIcon = ({ color }) => {
|
||||
export const SaveIcon: React.FC<SVGProps> = ({ color, ...children }) => {
|
||||
const theme = useTheme();
|
||||
|
||||
const setColor = color ? color : theme.palette.text.primary;
|
||||
|
||||
return (
|
||||
<svg
|
||||
{...children}
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
|
Loading…
x
Reference in New Issue
Block a user