Skip to content

Commit

Permalink
fix(Button): support for FormRow and FormSet
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Mar 27, 2023
1 parent 3a39134 commit c3b2cdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dnb-eufemia/src/components/button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
skeletonDOMAttributes,
createSkeletonClass,
} from '../skeleton/SkeletonHelper'
import { includeValidProps } from '../form-row/FormRowHelpers'
import IconPrimary from '../icon-primary/IconPrimary'
import { launch, launch_medium } from '../../icons'
import FormStatus from '../form-status/FormStatus'
Expand Down Expand Up @@ -97,6 +98,7 @@ export default class Button extends React.PureComponent {
this.props,
Button.defaultProps,
{ skeleton: this.context?.skeleton },
includeValidProps(this.context.FormRow),
this.context.Button
)

Expand Down

0 comments on commit c3b2cdf

Please sign in to comment.