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

helpscout / blue / 36
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 04 Sep 2017 08:51PM UTC
Jobs 1
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

pending completion
36

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

Jobs
ID Job ID Ran Files Coverage
1 36.1 04 Sep 2017 08:51PM UTC 0
99.75
Travis Job 36.1
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #36
  • d5cde6fc on github
  • Next Build on improve-component-props (#37)
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