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

volkeno-inputify

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

volkeno-inputify

Volkeno Inputify is a ReactJS module that harmonizes the management of form components.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

volkeno-inputify

Volkeno Inputify is a ReactJS module that harmonizes the management of form components.

NPM JavaScript Style Guide

Install

npm install --save volkeno-inputify

Usage

import React, { Component } from 'react'

import { Inputify } from 'volkeno-inputify'
import 'volkeno-inputify/dist/index.css'

class Example extends Component {
  render() {
    return  <Inputify
              {...props}
            />
  }
}

Configuration - Props

PropertyTypeDefaultDescription
modelstringnullInput model. Value can be 'input', 'select', 'file', 'textarea', 'toggle_switch'
inputTypestringnullInput type. Value can be 'text', 'checkbox', 'radio', 'file'
inputNamestringnullInput name property (Required)
inputValue---nullInput value property
callBackfunctionvoidThis is the method that allows you to retrieve the value of all Inputs except select
selectCallbackfunctionvoidThis is the method that allows you to retrieve the value of select
disabledbooleanfalseInput disabled property
readOnlybooleanfalseInput readonly property
placeholderstringnullInput placeholder property
selectOptionArraynullArray of select option label and value
selectPlaceholderstringnullSelect placeholder
classNamestringnullInput custom className
inputLabelstringnullInput label
inputLabelClassNamestringnullInput custom label container className
overridedIDstringnullInput custom ID value
inputHasIconbooleanfalseFlag to add icon on input
iconInInputstringnullIcon tag for example for Fontawesome ''
inputIconPositionstringnullIcon position on the Input tag. Value can be 'left' or 'right'
inputCheckboxSizeArraynullCheckbox tag size. It is an array containing the width and height values of checkbox size
inputRadioSizeArraynullRadio tag size. It is an array containing the width and height values of radio size
hasMutliplebooleanfalseDefine if has multiple files on Input file type
inputFileTypestringdefaultDefine the type of Input file. Value can be 'default' or 'dnd' (for drag and drop)
textareaRowsnumbernullTextarea rows size
textareaColsnumbernullTextarea cols size
textareaContentSizeLimitstringnullTextarea content size limit value
inputSwitchValuestringnullInput switch value property
switchCheckedStatusbooleanfalseInput switch checked proprety status
inputContainerClassNamestringnullInput switch parent container custom className
inputSwitchHasLabelbooleannullDefine if Input switch have label
inputSwitchLabelPositionstringnullDefine Input switch label position. Value can be 'left-side-to-side', 'right-side-to-side', 'top-before-input-switch', 'bottom-after-input-switch'
inputBorderRadiusValuestringnullDefine Input border radius value
inputIconContainerBgstringnullDefine Input Icon parent container background value
isRequiredbooleanfalseDefine if Input value is required
dndInputLabelstringnullDrag and Drop input file label value
inputStyleDeclinationstringdefaultInput style declinaison. Value can be 'defaut', 'primary', 'success', 'warning', 'danger', 'volkan'
otherPropsanynullCan add all others input properties

License

MIT © VolkenoMakers

Keywords

FAQs

Package last updated on 16 Jun 2022

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