import Copy from './Copy'
export default (props:{
title?:string,
sup?:string,
fontSize?:number | string,
value?:any,
copyval?:string,
copyalert?:string,
})=>
{
return <>
{props.title} {props.sup}
{props.value}
{props.copyval?
![]()
{
Copy(props.copyval)
alerter(props.copyalert||"Copied to the clipboard")
}} src ={global.cdn("/files/copy.svg")} alt="copy icon" style={{width:15, height:15}}/>:null}
>
}