How to use the grommet-controls/utils/moment.shortDate function in grommet-controls

To help you get started, we’ve selected a few grommet-controls 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 atanasster / grommet-nextjs / components / crypto / coins / ICOCard.js View on Github external
value: (
            
          ),
        }, {
          label: 'Web site',
          value: (
            
          ),
        }, {
          label: 'White paper',
          value: (
            
          ),
        }, {
          label: 'Date',
          value: shortDate(ICO.date),
        }, {
          label: 'End date',
          value: ICO.endDate ? shortDate(ICO.endDate) : 'N/A',
        }, {
          label: 'Features',
          value: (
            
              {ICO.features.map((item, index) => (
                
              ))}
            
          ),
        }, {
          label: 'Token type',
          value: ICO.tokenType,
        }, {
github atanasster / grommet-nextjs / components / crypto / coins / ICOCard.js View on Github external
}, {
          label: 'Web site',
          value: (
            
          ),
        }, {
          label: 'White paper',
          value: (
            
          ),
        }, {
          label: 'Date',
          value: shortDate(ICO.date),
        }, {
          label: 'End date',
          value: ICO.endDate ? shortDate(ICO.endDate) : 'N/A',
        }, {
          label: 'Features',
          value: (
            
              {ICO.features.map((item, index) => (
                
              ))}
            
          ),
        }, {
          label: 'Token type',
          value: ICO.tokenType,
        }, {
          label: 'Funding target',
          value: ICO.fundingTarget,
        }, {
github atanasster / grommet-nextjs / components / crypto / coins / ICOList.js View on Github external
        Cell: cell => (cell.value ? shortDate(cell.value) : 'N/A'),
      }, {