time-convertor-ts

Convert time across timezones (typescript)
git clone http://git.hanabi.in/repos/time-convertor-ts.git
Log | Files | Refs | README | LICENSE

ErrorAlert.tsx (440B)


      1 import React from "react";
      2 
      3 function ErrorAlert({ msg }: { msg: string }) {
      4   return (
      5     <div
      6       className="alert alert-dismissible alert-warning fade mt-5 show"
      7       role="alert"
      8     >
      9       {msg}
     10       <button
     11         aria-label="Close"
     12         className="close"
     13         data-dismiss="alert"
     14         type="button"
     15       >
     16         <span aria-hidden="true">&times;</span>
     17       </button>
     18     </div>
     19   );
     20 }
     21 
     22 export default ErrorAlert;