Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

text-area-with-line-number

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text-area-with-line-number

textarea with line numbers

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
293
decreased by-26.93%
Maintainers
1
Weekly downloads
 
Created
Source

text-area-with-line-number

Usage

import TextAreaWithLineNumber from 'text-area-with-line-number';

 <TextAreaWithLineNumber />

Props

PropDescriptionDefault
onChangefunction to be called on onChange event
valuein order to bind value for text-area
placeholderplaceholder fortext-areainput your text here
lineNumberBackgroundto set background of line-numbers div#fff
textAreaBackgroundColorto set background of text-area div#fff
lineNumberTextColorto set font color of line-number#000
textAreaTextColorto set font color of text-area#000
borderborder between line-numbers and text-area1px solid #ddd
heightheight of the whole component30vh
textAreaFontSizefont size for text area1rem
lineNumberFontSizefont size for line-numbers1rem
scrollbarWidthtext-area height overflow scrollbar width6px
scrollbarTrackColortext-area height overflow scrollbar track colortransparent
srollbarThumbColortext-area height overflow scrollbar thumb color#888
textAreaFontFamilyfont family for text-area
lineNumberFontFamilyfont family for line-numbers

Keywords

FAQs

Package last updated on 24 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc