Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

A fantastically simple tagging component for your React projects

License

Notifications You must be signed in to change notification settings

stahlmanDesign/react-tags

This branch is 1 commit ahead of, 406 commits behind react-tags/react-tags:master.

Folders and files

NameName
Last commit message
Last commit date
Aug 23, 2016
Aug 23, 2016
May 22, 2016
Aug 23, 2016
Aug 15, 2016
May 21, 2016
Oct 28, 2015
Aug 15, 2016
May 9, 2015
Aug 23, 2016
May 9, 2015
Aug 23, 2016
Jul 6, 2016

Repository files navigation

React-Tags inline styles (fork for inline styles)

This is a fork of https://github.com/prakhar1989/react-tags v4.3.0

It adds the ability to change the tag colours at run-time, using a calculated colour:

Inline styles for background and text color

Sometimes classes are not enough. For example, if you want your tag to be a color that is only known at run-time, or from user input, you need to modify the style and apply a specific color property that can't be defined ahead of time in a class. To avoid direct DOM manipulation using something like JQuery, use these properties that set the inline style of the tag:

	<ReactTags
		backgroundColor={ someCalculatedColor }
		textColor={ someCalculatedColor }
	...>

##See original repo for full documentation: https://github.com/prakhar1989/react-tags

About

A fantastically simple tagging component for your React projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.7%
  • HTML 2.9%
  • CSS 2.4%