Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

starh-comp-common

Package Overview
Dependencies
8
Maintainers
2
Versions
37
Issues
File Explorer

Advanced tools

starh-comp-common

Libreria di componenti React specifica per la piattaforma StarH.

    0.1.36latest

Version published
Maintainers
2
Yearly downloads
2,379

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

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc