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.
@teacode/react-admin-color-input
Advanced tools
<ColorInput> and <ColorField> components for react-admin. Forked from aor-color-input.
<ColorInput> and <ColorField>
A color picker for react-admin using React Color, a collection of color pickers.
Also includes a color field for just displaying the color value.
This module was originally created for admin-on-rest by @dreinke and was forked from his repository.
npm install react-admin-color-input --save-dev
import React from 'react';
import {
Show,
TextField,
Edit,
TextInput,
LongTextInput,
} from 'react-admin';
import { ColorField, ColorInput } from 'react-admin-color-input';
export const PostShow = (props) => (
<Show {...props}>
<TextField source="title" />
<TextField source="body" />
<ColorField source="color" />
</Edit>
);
export const PostEdit = (props) => (
<Edit {...props}>
<TextInput source="title" validation={{ required: true }} />
<LongTextInput source="body" validation={{ required: true }} />
<ColorInput source="color" />
</Edit>
);
You can customize the color picker using the picker
attribute.
<ColorInput source="color" picker="Sketch"/>
This library is licensed under the MIT Licence.
FAQs
<ColorInput> and <ColorField> components for react-admin. Forked from aor-color-input.
The npm package @teacode/react-admin-color-input receives a total of 0 weekly downloads. As such, @teacode/react-admin-color-input popularity was classified as not popular.
We found that @teacode/react-admin-color-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
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.