Skip to content

notablemind/tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tags

A react component for managing tags. Has minimalistic styling that's easy to overwrite.

Key bindings

tab / shift-tab

move to the next / previous tag. If the current tag is empty, then it will be removed

backspace in an empty tag

remove this tag and go to the previous one

return

commit this tag (if it isn't empty) and add another

escape

does what you would expect

Input attributes:

  • "focused" - whether it should start focused
  • defaultValue - the value to prepopulate with. Use the "load" function to get dynamic information
  • load(cb(tags)) pass in a getter
  • save(tags, cb(tags)) pass in a setter

Installation

Install with component(1):

$ component install noteablemind/tags

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published