• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

helpscout / blue / 475
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 09 Nov 2017 08:28PM UTC
Jobs 1
Files 124
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
475

push

travis-ci

ItsJonQ
Add Truncate component

This commit adds a new `<Truncate>` component that easily truncates
text-based children content. In addition to CSS truncating, which it
does by default, it also allows for JS-based truncation at the
beginning, middle, or end of the string.

**Example**
```jsx
<Truncate type='middle' limit={4}>My super long text</Truncate>
```

**Result**
```html
<span class="c-Truncate">My…xt</span>
```

1083 of 1083 branches covered (100.0%)

Branch coverage included in aggregate %.

1709 of 1709 relevant lines covered (100.0%)

105.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 475.1 09 Nov 2017 08:28PM UTC 0
100.0
Travis Job 475.1
Source Files on build 475
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #475
  • d509b3a2 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc