
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-object-list
Advanced tools
React component to display an array of object data in a filterable view
Component used to display an array of object based data in a sortable, filterable, paginated, list based view, powered by React.
Custom components can be passed in if they are designed to handle the same props as the default components. This functionality is available for the DataRenderer, Pagination and ErrorMessage and your component can simply be passed in through the props with one of the above keys.
Check out the live demo here: http://uptick.github.io/react-object-list/
Install the package:
yarn add react-object-list
Ensure you have all peer dependencies installed
yarn add classnames moment prop-types react-month-picker react-select
Include icons from FontAwesome 4:
import React from 'react'
import ReactDOM from 'react-dom'
import ObjectList from 'react-object-list'
import {FontAwesome} from 'react-object-list/icons'
var mount = document.querySelectorAll('div.browser-mount');
ReactDOM.render(
<ObjectList
icons={icons.FontAwesome(4)}
/>,
mount[0]
);
or your own icons by specifying as so:
<ObjectList
icons={{
OptionalFields: <i className="list" />,
Favourites: <i className="heart" />,
RemoveFavourite: <i className="trash" />,
RemoveFilter: <i className="minus-circle" />,
DropdownOpen: <i className="caret-down" />,
DropdownClose: <i className="caret-up" />,
SortAsc: <i className="caret-up" />,
SortDesc: <i className="caret-down" />,
Unsorted: <i className="sort" />,
Loading: <i className="circle-notch spin" />,
CheckboxChecked: <i className="check-square" />,
CheckboxUnchecked: <i className="square" />,
}}
/>
Unspecified icons will not show (excl. RemoveFavourite, SortAsc, SortDesc, CheckboxChecked, CheckboxUnchecked, RemoveFilter).
FAQs
React component to display an array of object data in a filterable view
The npm package react-object-list receives a total of 5 weekly downloads. As such, react-object-list popularity was classified as not popular.
We found that react-object-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.