SHARE
TWEET

Untitled

a guest Jun 17th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (
  2.   <div
  3.     id={`font-picker${this.fontManager.selectorSuffix}`}
  4.     className={expanded ? "expanded" : ""}
  5.   >
  6.     <button
  7.       type="button"
  8.       className="dropdown-button"
  9.       onClick={this.toggleExpanded}
  10.       onKeyPress={this.toggleExpanded}
  11.     >
  12.       <p className="dropdown-font-family">{activeFontFamily}</p>
  13.       <p className={`dropdown-icon ${loadingStatus}`} />
  14.     </button>
  15.     {loadingStatus === "finished" && this.generateFontList(fonts)}
  16.   </div>
  17. );
  18.      
  19. <div className="font-picker">
  20.   <FontPicker />
  21. </div>
  22.  
  23. // the classnames that are exposed
  24. .font-picker {
  25.   div.expanded
  26.   .dropdown-button
  27.   p.dropdown-font-family
  28. }
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