Socket
Socket
Sign inDemoInstall

starh-comp-common

Package Overview
Dependencies
851
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    starh-comp-common

Libreria di componenti React specifica per la piattaforma StarH.


Version published
Weekly downloads
98
increased by653.85%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

React UI Components

Libreria di componenti React specifica per la piattaforma StarH.

Elenco Componenti

AjaxTable.propTypes = {  
  endpoint: PropTypes.string.isRequired,   // enpoint da invocare per recuperare i dati
  requestHeaders: PropTypes.object,  
  onLoad: PropTypes.func,  
  dataKey: PropTypes.string,  
  emptyMessage: PropTypes.string,  
  currentPageReportTemplate: PropTypes.string,  
  paginatorTemplate: PropTypes.string,  
  rowsPerPageOptions: PropTypes.array,  
  rows: PropTypes.number,  
  filteredText: PropTypes.string,  
  borderColor: PropTypes.string,  
  totalRecordsLabel: PropTypes.string,  
  fullTextSearchLabel: PropTypes.string,  
  fullTextSearchOperator: PropTypes.string,  
  exportLabel: PropTypes.string,  
  advancedSearchLabel: PropTypes.string,  
  advancedSearchBarTitle: PropTypes.string,  
  columns: PropTypes.arrayOf(  
    PropTypes.shape({  
      header: PropTypes.string.isRequired,  
      field: PropTypes.string.isRequired,  
      sortable: PropTypes.bool,  
      sortableField: PropTypes.string,  
      renderer: PropTypes.func,  
    }),  
  ).isRequired,  
  fullTextSearchFields: PropTypes.arrayOf(PropTypes.string),  
  exportFields: PropTypes.arrayOf(  
    PropTypes.shape({  
      header: PropTypes.string.isRequired,  
      field: PropTypes.string.isRequired,  
    }),  
  ),  
  advancedSearchFields: PropTypes.arrayOf(  
    PropTypes.shape({  
      header: PropTypes.string.isRequired,  
      field: PropTypes.string.isRequired,  
    }),  
  ),  
};  
  
AjaxTable.defaultProps = {  
  onLoad: (data) => {  
    return data;  
  },  
  dataKey: 'id',  
  emptyMessage: 'No data',  
  currentPageReportTemplate: 'Showing {first} to {last} of {totalRecords} entries',  
  paginatorTemplate:  
    'CurrentPageReport FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',  
  rowsPerPageOptions: [10, 20, 50],  
  rows: 10,  
  borderColor: '#dddddd',  
  totalRecordsLabel: 'Total Records:',  
  fullTextSearchLabel: 'Search ...',  
  fullTextSearchOperator: 'like',  
  filteredText: '(filtered)',  
  exportLabel: 'Export',  
  advancedSearchLabel: 'Search (Ctrl+f)',  
  advancedSearchBarTitle: 'Advanced Search',  
};

Crafted with 💗 by LinearIT.

Keywords

FAQs

Last updated on 06 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc