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

@instructure/ui-truncate-text

Package Overview
Dependencies
Maintainers
37
Versions
1220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-truncate-text

A TruncateText component made by Instructure Inc.

  • 6.16.1-rc.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.5K
increased by18.58%
Maintainers
37
Weekly downloads
 
Created
Source

category: packages

ui-truncate-text

npm  build-status  MIT License  Code of Conduct

A TruncateText component made by Instructure Inc.

Components

The ui-truncate-text package contains the following:

Installation

yarn add @instructure/ui-truncate-text

Usage

---
example: false
---
import React from 'react'
import { TruncateText } from '@instructure/ui-truncate-text'

const MyTruncateText = () => {
  return (
    <TruncateText
      position="middle"
      truncate="word"
    >
      <span>This line of text should be truncated from the middle of the string <strong>instead of the end.</strong></span>
    </TruncateText>
  )
}

FAQs

Package last updated on 06 Jan 2020

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