Skip to content

Commit

Permalink
Merge pull request #445 from ConsenSys/development
Browse files Browse the repository at this point in the history
Bump version to 0.13.1
  • Loading branch information
gesquinca authored Feb 27, 2020
2 parents a6d7c29 + 18a82c7 commit 52ac429
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class Example extends Component {

## Change log

### 0.13.1

🐛 Bug Fix

- Added default props for `Heading` component.

### 0.13.0

🚀 New Feature
Expand All @@ -43,7 +49,7 @@ class Example extends Component {

🐛 Bug Fix

- Fixed `Heading` component `as` prop not working.
- Fixed `Heading` component `as` prop not working.
- Fixed `Text` component `as` prop not working.
- Fixed `Select` component arrow icon placement.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rimble-ui",
"version": "0.13.0",
"version": "0.13.1",
"description": "Rimble Design System react component library.",
"author": "ConsenSys Design",
"homepage": "https://rimble.consensys.design/",
Expand Down
5 changes: 4 additions & 1 deletion src/Heading/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import PropTypes from 'prop-types'
import Box from '../Box'
import theme from '../theme'

const defaultProps = {
fontWeight: 3,
Expand All @@ -13,10 +14,12 @@ Heading.defaultProps = {
...defaultProps,
as: 'h2',
fontSize: '',
theme,
}

Heading.propTypes = {
...Text.propTypes,
...Box.propTypes,
theme: PropTypes.object,
}

Heading.displayName = 'Heading'
Expand Down

0 comments on commit 52ac429

Please sign in to comment.