Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-admin-color-input
Advanced tools
Readme
<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 react-admin-color-input receives a total of 418 weekly downloads. As such, react-admin-color-input popularity was classified as not popular.
We found that 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 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.