How to use decentraland-ui - 2 common examples

To help you get started, we’ve selected a few decentraland-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github decentraland / agora / webapp / src / components / PollDetailPage / PollDetailPage.tsx View on Github external
<header>{poll.votes.length}</header>
              
              {isFinished(poll) ? (
                
                  <header>{formatDate(poll.closes_at)}</header>
                
              ) : (
                
                  <header>{distanceInWordsToNow(poll.closes_at, false)}</header>
                
              )}
            

            
              &lt;&gt;
                <div>
                  <div>
                    
                  </div>

                  
                </div>

                <div>
                  <div>
                    {currentResults.map((result, index) =&gt; (
                      
                        {result.option.value}
                      </div></div>
github decentraland / agora / webapp / src / components / PollDetailPage / PollDetailPage.tsx View on Github external
values={{
                            sign_in_link: (
                              
                                {t('poll_detail_page.sign_in_link')}
                              
                            )
                          }}
                        /&gt;
                      )}
                    <p></p>
                  )}
                
              
            

            
              <div>
                {currentResults.map((result, index) =&gt; (
                  
                    {result.option.value}
                  
                ))}
              </div>
              
              
            

            {noVotes ? null : (

decentraland-ui

Decentraland's UI components and styles

MIT
Latest version published 4 days ago

Package Health Score

79 / 100
Full package analysis

Popular decentraland-ui functions