What props type i can use instead this any in my component for imageIcon (I know that this any is working but that’s not good practice). I’m using typescript with react. I try everything else including string but that’s not working
import React, { FC } from 'react';
import Grid from '../../hoc/layout/Grid';
import styles from './InfoBox.module.scss';
import { SvgIcon } from '@material-ui/core';
interface Props {
title: string;
imageIcon?: any;
userNumber: number;
content: string;
}
const InfoBox: FC<Props> = ({
title,
imageIcon,
userNumber,
content,
}: Props) => {
return (
<Grid xs={12} sm={6} md={4}>
<div className={styles.Boxheader}>
<div className={styles.ImageHolder}>
<SvgIcon component={imageIcon} />
</div>
<p className={styles.BoxheaderTitle}>{title}</p>
</div>
<div className={styles.Boxcontent}>
<p className={styles.Usernumber}>{userNumber}</p>
<p className={styles.BoxcontentText}>{content}</p>
</div>
</Grid>
);
};
export default InfoBox;
So i can forward this infoBox to other component:
import React, { FC } from 'react';
import Layout from '../../hoc/layout/Dashboard';
import InfoBox from '../../components/InfoBox';
import AccountBoxOutlinedIcon from '@material-ui/icons/AccountBoxOutlined';
const Settings: FC = () => {
return (
<Layout>
<InfoBox
title="Total Users"
userNumber={4456}
content="+22 in last week"
imageIcon={AccountBoxOutlinedIcon}
/>
<InfoBox
title="Total Users"
userNumber={4456}
content="+22 in last week"
/>
</Layout>
);
};
export default Settings;
https://cialisbob.com/ 100 mg cialis tadalafil
https://kamagraday.com/ kamagra ts
http://cialisay.com printable cialis coupon
provigil schedule – buy provigil modafinil moa
safest site to buy clomid
advair cost in mexico
https://wardenafil.com cialis vs viagra vs levitra which is better
cost of accutane canada – accutane us canada online pharmacy accutane
can i buy prednisone over the counter in mexico
amoxicillin 250 mg – antibiotics without a doctor’s prescription amoxicilin usa
This is the perfect site for anybody who would like to find out about
this topic. You know a whole lot its almost tough to argue with you (not that I
personally would want to HaHa). You definitely put a fresh spin on a subject that has been discussed for ages.
Excellent stuff, just wonderful! https://hhydroxychloroquine.com/
http://levitradd.com/ levitra 20 mg pill
vardenafil generico online – levitra coupon best price vardenafil online
http://fildenahim.com fildena 100 mg amazon
https://himscanada.com/ tadalafil tablets 5mg
https://levitradd.com/ levitra instructions
I have been surfing online greater than 3 hours today, yet I never discovered any fascinating article like
yours. It is pretty value enough for me. In my view, if all website owners and bloggers made excellent content as you probably did, the net will probably be
much more helpful than ever before. https://www.herpessymptomsinmen.org/where-to-buy-hydroxychloroquine/
can you buy stromectol over the counter – ivermectin 18mg stromectol oral
viagra cialis online – top 10 online pharmacy in india cialis soft tabs original
Excellent web site you have got here.. It’s hard to find
high-quality writing like yours nowadays. I truly
appreciate people like you! Take care!! http://herreramedical.org/azithromycin
buy oral stromectol – ivermectin 200
http://clomid4all.com clomid for men dosage
accutane 40 mg – buy accutane online uk accutane india buy
lyrica generic brand – lyrica online canada usa pharmacy
http://prescriptionhim.com/ prescription cost viagra
amoxicillin brand over the counter – amoxicillin price at cvs generic amoxicillin cost
magnificent put up, very informative. I’m wondering
why the other experts of this sector don’t notice this.
You must proceed your writing. I am confident, you have a great readers’ base already! http://antiibioticsland.com/Stromectol.htm
viagra 100mg india price – cheap viagra with prescription viagra rx
cheap cialis 20mg – cialis 10mg canadian pharmacy best prices for cialis
buy ivermectin canada – stromectol ivermectin buy stromectol for sale online
prednisone 60 mg – deltasone cost 10mg prednisone daily
provigil online – provigil online buy provigil online
http://iwermectin.com/ ivermectin paste 1.87% for humans
buy azithromycin – azithromycin zithromax 250 mg
furosemide 40 for sale – furosemide tablet price furosemide tab 20mg cost
how much does clomid cost – clomiphene tablets clomid price
how to safely order viagra online – viagra for sale mexico sildenafil online usa
of course like your website however you need to take a look at the spelling on several of your posts.
A number of them are rife with spelling problems and I find it very troublesome to tell the reality then again I will certainly come again again. http://cleckleyfloors.com/
http://ivermectineffects.com/ ivermectin for humans
http://ivermectinovercounter.com/ stromectol
prozac medical name
propecia side effects long term
ventolin walgreens
https://ivermectinus.com/ how to buy ivermectin
amoxicillin for dental abscess
whats it mean when the second number blood pressure is high olive leaf extract and blood pressure
stromectol https://ivermectinhome.com
best natural ed pills – best ed pills ed drugs list
prednisone pill 10 mg – prednisone 5 mg tablet prednisone in mexico
dr who official hoopz nikki alexander hiv positive
ivermectin tablets https://ivermectinhome.com
http://albuterolotc.com/ proventil inhaler
dayton county health department for travel what food lowers blood pressure
stromectol dosage chart https://ivermectinhome.com
lisinopril and yeast infections
lisinopril diphenhydramine interaction
how many people gained health care coverage with obama care in its first year https://ventolinhfaer.com/ treatment for asthma
rome ga health department individual health insurance plans
ivermectin tablets dosage https://ivermectinhome.com
auc medical school ivermectin without prescription https://iveramectin.com can you get ivermectin without a prescription?
hiv friend blood http://dapoxetineus.com/ priligy en france
viagra 50mg pill
prednisone 5mg tablets – prednisone 477 prednisona 5mg
canada viagra without a doctor prescriptions http://viagrob.com how much does viagra cost at walmart
amoxicillin trihydrate clavulanate potassium
What type i should pass to my imageIcon props in react typescript? – JavaScript Help kamagra 100 mg no prescription http://kamagranext.com best place to buy kamagra online
stromektolipilleri ivermectin australia https://stromectl.com ivermectin 8000
is kamagra legal in usa http://kamagramama.com kamagra 100mg oral jelly usa What type i should pass to my imageIcon props in react typescript? – JavaScript Help
prescription de cytotec
buy generic advair diskus online
cheap cytotec uk
ivermectin for sale https://ivermectin1.com/ stromectol
http://stromectolo.com – ivermectin tablets for humans
quote for asthma http://cialisbob.com – cialis online shopping
http://ivrmectin.com – buy ivermectin 6mg
ivermectin online order https://stromectolforte.com/# ivermectin tablets stromectol generic
allegra generic – http://allergyd.com
ivermectin pills http://ivermecton.com/ ivermectin cream
http://www.sildenafilhim.com sildenafil is used for
Today, I went to the beach front with my kids.
I found a sea shell and gave it to my 4 year old daughter and said
“You can hear the ocean if you put this to your ear.” She
placed the shell to her ear and screamed.
There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this is completely off topic but I had to tell someone! http://herreramedical.org/cialis
Normally I do not read article on blogs, but I wish to say that this write-up very
forced me to take a look at and do it! Your writing taste has been surprised me.
Thanks, quite great post. http://ciaalis2u.com/
viagra tablets for men price https://www.viagwdp.com/ generic viagra online prescription how fast does viagra work
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to
my blog that automatically tweet my newest twitter updates.
I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something
like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates. http://herreramedical.org/dapoxetine
provigil contraindications provigil where to buy online does modafinil work for everyone what does provigil do to you
order ampicillin 250mg online – purchase metronidazole generic hydroxychloroquine price
https://cialisusdc.com/ buy cialis
best price usa tadalafil tadalafil price walmart
generic tadalafil from uk tadalafil drug
side effects for tadalafil buy generic cialis online with mastercard
tadalafil without a doctor prescription tadalafil drug
prescription tadalafil online https://cialistrxy.com/
https://extratadalafill.com/ generic cialis online fast shipping
tadalafil without a doctor prescription tadalafil order online no prescription
where to buy cialis without prescription cialis tadalafil
tadalafil brands cheapest tadalafil cost
tadalafil brands cheap cialis pills for sale
buy ivermectin in canada stromectol 0.5 mg
https://ivermectinuni.com/ buy stromectol
ivermectin for covid
cheap ivermectin http://www.ivermectinoge.com/
generic stromectol 12 mg http://ivermectinuni.com/
stromectol 12 buy 6 mg stromectol buy generic stromectol online
ivermectin tablets ivermectin without a doctor prescription