Skip to content

Commit

Permalink
fix: Allow component prop to be used for Column component (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieyan authored Jun 11, 2021
1 parent 74ae23c commit b4c7039
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Reactist follows [semantic versioning](https://semver.org/) and doesn't introduc
## v9.2.0-beta.15

- [Fix] Add default padding to `Text` component when used with `lineClamp` prop, in order to prevent emojis from being cutoff
- [Fix] Allow the `Column` component to leverage the `component` prop to render as another element other than the default `div`

## v9.2.0-beta.14

Expand Down
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@



window['FRAMEWORK_OPTIONS'] = {};</script><script src="runtime~main.233fc521.iframe.bundle.js"></script><script src="vendors~main.829136cb.iframe.bundle.js"></script><script src="main.980420d4.iframe.bundle.js"></script></body></html>
window['FRAMEWORK_OPTIONS'] = {};</script><script src="runtime~main.233fc521.iframe.bundle.js"></script><script src="vendors~main.829136cb.iframe.bundle.js"></script><script src="main.f62714fd.iframe.bundle.js"></script></body></html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@doist/reactist",
"description": "Open source React components by Doist",
"author": "Henning Muszynski <[email protected]> (http://doist.com)",
"version": "9.2.0-beta.14",
"version": "9.2.0-beta.15",
"license": "MIT",
"homepage": "https://github.com/Doist/reactist#readme",
"repository": "git+https://github.com/Doist/reactist.git",
Expand Down
2 changes: 1 addition & 1 deletion src/new-components/columns/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface ColumnProps {
}

const Column = forwardRefWithAs<ColumnProps>(function Column(
{ component, width = 'auto', children, ...props },
{ width = 'auto', children, ...props },
ref,
) {
return (
Expand Down

0 comments on commit b4c7039

Please sign in to comment.