Skip to content

Commit

Permalink
Add custom CSS properties from StyleWrapper support (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored Jan 12, 2024
1 parent ad2a6aa commit eddacf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/15.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add custom CSS properties from StyleWrapper support @sneridagh
4 changes: 2 additions & 2 deletions src/components/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import cx from 'classnames';

const SeparatorView = (props) => {
//eslint-disable-next-line
const { className, data } = props;
const { className, data, style } = props;
return (
<div className={cx('block separator', className)}>
<div className={cx('block separator', className)} style={style}>
<div className="line" />
</div>
);
Expand Down

0 comments on commit eddacf6

Please sign in to comment.