SHARE
TWEET

Untitled

a guest Jun 16th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type SizeUnion =
  2.   | 'title1'
  3.   | 'title2'
  4.   | 'title3'
  5.   | 'headline'
  6.   | 'subhead'
  7.   | 'caption1'
  8.   | 'caption2'
  9.   | 'body1'
  10.   | 'callout'
  11.   | 'footnote1'
  12.   | 'footnote2'
  13.   | 'instruction1';
  14. type SizeMap = Record<SizeUnion, string>;
  15.  
  16.   private _sizeMap: SizeMap = {
  17.     title1: 'h1',
  18.     title2: 'h2',
  19.     title3: 'h3',
  20.     headline: 'h4',
  21.     subhead: 'h5',
  22.     caption1: 'p',
  23.     caption2: 'p',
  24.     body1: 'p',
  25.     callout: 'p',
  26.     footnote1: 'p',
  27.     footnote2: 'p',
  28.     instruction1: 'p',
  29.   };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top