parent
f2edd976a9
commit
7387c78da9
@ -0,0 +1,19 @@ |
||||
import Reaact from 'react' |
||||
|
||||
export function CompileErrorCard(props: any) { |
||||
return ( |
||||
<div id="vyperErrorResult" className="px-2 mx-3 alert alert-danger error" title={props.output.message}> |
||||
<i className="fas fa-exclamation-circle text-danger"></i> |
||||
<span |
||||
data-id="error-message" |
||||
className="" |
||||
style={{ |
||||
overflowX: 'hidden', |
||||
textOverflow: 'ellipsis' |
||||
}} |
||||
> |
||||
{props.output.message.trim()} |
||||
</span> |
||||
</div> |
||||
) |
||||
} |
Loading…
Reference in new issue