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

helpscout / blue / 36 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 04 Sep 2017 08:51PM UTC
Files 49
Run time 5s
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

04 Sep 2017 08:40PM UTC coverage: 99.749%. First build
36.1

push

travis-ci

ItsJonQ
Export propTypes + make component props more flexible

**Export propTypes**

From now on, the const `propTypes` being declared on components will be made available to be imported. This allows for easier propType re-use! All of Blue's components were updated to support this.

**Making component props more flexible**

With the rare exception of certain components (like `Portal`), most of Blue's components have been updated to accept additional props beyond the defaultPropts by using the `{...rest}` style method. The typical use-case would be to easily add custom `style` options, or perhaps `id` or `data-` properties.

**Example**

```jsx
<Avatar style={{ padding: 20 }} />
```

No changes/updates are required for the user/consumer!

These updates should work with existing integrations. :rocket:

293 of 295 branches covered (99.32%)

Branch coverage included in aggregate %.

501 of 501 relevant lines covered (100.0%)

32.5 hits per line

Source Files on job 36.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 36
  • Travis Job 36.1
  • d5cde6fc on github
  • Next Job for on improve-component-props (#37.1)
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