You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@instructure/ui-prop-types

Package Overview
Dependencies
Maintainers
42
Versions
1800
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-prop-types

A UI component library made by Instructure Inc.

10.24.0
latest
Source
npmnpm
Version published
Weekly downloads
30K
-30%
Maintainers
42
Weekly downloads
 
Created
Source

ui-prop-types

npm MIT License Code of Conduct

A collection of custom prop type validators.

Functions

The ui-prop-types package contains the following:

Installation

npm install @instructure/ui-prop-types

Usage

import React from 'react'
import PropTypes from 'prop-types'

import { Children, controllable } from '@instructure/ui-prop-types'

class MyComponent extends React.Component {
  static propTypes = {
    children: Children.oneOf([SomeOtherComponent, AnotherComponent])
    selected: controllable(PropTypes.bool, 'onSelect'),
    onSelect: PropTypes.func
  }
  ...
}

FAQs

Package last updated on 18 Jul 2025

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