Socket
Socket
Sign inDemoInstall

@instructure/ui-text-input

Package Overview
Dependencies
11
Maintainers
35
Versions
1353
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-text-input


Version published
Weekly downloads
21K
decreased by-10.07%
Maintainers
35
Created
Weekly downloads
 

Readme

Source

category: packages

ui-text-input

npm build-status MIT License Code of Conduct

A UI component library made by Instructure Inc.

Installation

yarn add @instructure/ui-text-input

Components

The ui-text-input package contains the following:

---
example: true
render: false
---
class ControlledTextInputExample extends React.Component {
  constructor (props) {
    super(props)

    this.state = {
      value: 'Mint chocolate chip'
    }
  }

  handleChange = (e, value) => this.setState({ value })

  render () {
    return (
      <View as="div">
        <TextInputControlled
          label="What is your favorite ice cream flavor?"
          value={this.state.value}
          onChange={this.handleChange}
        />
        <View as="div" margin="medium none none">
          <code>this.state.value = {this.state.value}</code>
        </View>
      </View>
    )
  }
}

render(<ControlledTextInputExample />)

FAQs

Last updated on 22 Mar 2019

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc