![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
react-filter-control
Advanced tools
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/komarovalexander/react-filter-control/blob/master/LICENSE) [![Build Status](https://travis-ci.com/komarovalexander/react-filter-control.svg?branch=master)](https://t
The React component for building the composite filter criteria
npm
npm install react-filter-control
yarn
yarn add react-filter-control
import React from "react";
import ReactDOM from "react-dom";
import FilterControl from "react-filter-control";
import { fields, filterValue } from "./data.js";
const handleFilterValueChange = filterValue => {
// ...
};
const App = () => {
return (
<FilterControl
filterValue={filterValue}
fields={fields}
onFilterValueChanged={handleFilterValueChange}
/>
);
};
ReactDOM.render(<App />, document.querySelector("#root"));
Properties
Name | Type | Description |
---|---|---|
fields | Array.<Field> | The fields settings |
filterValue | FilterValue | The filterValue settings |
groups | Array.<Group> | The groups settings |
onFilterValueChanged | event | The filter value changed handler |
Object
Properties
Name | Type | Description |
---|---|---|
groupName | string | Group name |
items | Array.<(FilterValueGroup|FilterValueItem)> | Items in group |
Object
Properties
Name | Type | Description |
---|---|---|
key | key | Item key |
groupName | string | Group name |
items | Array.<(FilterValueGroup|FilterValueItem)> | Items in group |
Object
Properties
Name | Type | Description |
---|---|---|
key | key | Item key |
field | string | Field |
operator | string | Operator |
value | any | Value |
Object
Properties
Name | Type | Description |
---|---|---|
name | string | Field name |
caption | string | Field caption |
operators | Array.<Operator> | Field operators |
Object
Properties
Name | Type | Description |
---|---|---|
name | string | Group name |
caption | string | Group caption |
Object
Properties
Name | Type | Description |
---|---|---|
name | string | Operator name |
caption | string | Operator caption |
This project is licensed under the terms of the MIT license.
FAQs
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/komarovalexander/react-filter-control/blob/master/LICENSE) [![Build Status](https://travis-ci.com/komarovalexander/react-filter-control.svg?branch=master)](https://t
We found that react-filter-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.