quotes-nextjs

My favourite quotes. (nextjs)
git clone http://git.hanabi.in/repos/quotes-nextjs.git
Log | Files | Refs | LICENSE

Attribution.js (689B)


      1 function Attribution({ attributed, misattributed, unverified }) {
      2   return (
      3     <>
      4       {attributed ? (
      5         <span>
      6           <sup>
      7             <em>
      8               <abbr title="Attributed">!</abbr>
      9             </em>
     10           </sup>
     11         </span>
     12       ) : null}
     13       {misattributed ? (
     14         <span>
     15           <sup>
     16             <em>
     17               <abbr title="Misattributed">?</abbr>
     18             </em>
     19           </sup>
     20         </span>
     21       ) : null}
     22       {unverified ? (
     23         <span>
     24           <sup>
     25             <em>
     26               <abbr title="Unverified">#</abbr>
     27             </em>
     28           </sup>
     29         </span>
     30       ) : null}
     31     </>
     32   );
     33 }
     34 
     35 export default Attribution;