Skip to content

Commit

Permalink
move spreads
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Jan 16, 2019
1 parent 6ce3ae0 commit f92040f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/ActionBar/ActionBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ export const ActionBarBack = ({ onClick, className, buttonProps, ...props }) =>

return (
<div className={`fd-action-bar__back${className ? ' ' + className : ''}`} {...props}>
<button className='fd-button--light fd-button--compact sap-icon--nav-back'
onClick={onClick}
{...buttonProps} />
<button
{...buttonProps}
className='fd-button--light fd-button--compact sap-icon--nav-back'
onClick={onClick} />
</div>
);
};
Expand All @@ -43,11 +44,11 @@ export const ActionBarHeader = ({ className, description, descriptionProps, titl
return (
<div className={`fd-action-bar__header${className ? ' ' + className : ''}`} {...props}>
<h1
className='fd-action-bar__title'
{...titleProps}>{title}</h1>
{...titleProps}
className='fd-action-bar__title'>{title}</h1>
<p
className='fd-action-bar__description'
{...descriptionProps}>{description} </p>
{...descriptionProps}
className='fd-action-bar__description'>{description} </p>
</div>
);
};
Expand Down

0 comments on commit f92040f

Please sign in to comment.