New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thevelops/tv-buttons

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thevelops/tv-buttons

A collection of buttons for theVelops' projects

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

tv-buttons

A collection of button components

// install
npm i -S @thevelops/tv-buttons

Components

  • Button
  • Floating Action Button
  • Switch Button

Docs

Button

import Button from "@thevelops/tv-buttons/dist/lib/Button";
@import "path/to/node_modules/@thevelops/tv-buttons/dist/styles/button.styl"
FieldTypeDescription
labelstring or node(required)
onClickfunc(required)
classNamestring
disabledbool
valuestring
typestringbutton, submit or reset. default: button
eventsobjectobject with one or more React Syntethic Events

Floating Action Button

import FloatingActionButton from "@thevelops/tv-buttons/dist/lib/FloatingActionButton";
@import "path/to/node_modules/@thevelops/tv-buttons/dist/styles/floatActionButton.styl"
FieldTypeDescription
iconstring(required)
onClickfunc(required)
classNamestring
fixedboolfixes the button in the bottom right corner of screen. default: false
eventsobjectsobject with one or more React Synthetic Events

Switch Button

import SwitchButton from "@thevelops/tv-buttons/dist/lib/SwitchButton";
@import "path/to/node_modules/@thevelops/tv-buttons/dist/styles/switchButton.styl"
FieldTypeDescription
onClickfunc(required)
enabledboolean(required)
classNamestring
onLabelstringlabel for the ON position (right)
offLabelstringlabel for the OFF position (left)

Development

For delevepment checkout this section.

FAQs

Package last updated on 10 Apr 2018

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