Skip to content

Commit

Permalink
chore: remove rest of class done in #3634 (#3651)
Browse files Browse the repository at this point in the history
Fulfills #3634
  • Loading branch information
tujoworker authored Jun 4, 2024
1 parent 6fba7f9 commit 98e238f
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ export default class Autocomplete extends React.PureComponent {
observer_element: null,
enable_body_lock: false,

class: null,
className: null,
children: null,

Expand Down
1 change: 0 additions & 1 deletion packages/dnb-eufemia/src/components/button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ Button.defaultProps = {
rel: null,
to: null,
id: null,
class: null,
custom_content: null,
wrap: null,
bounding: null,
Expand Down
2 changes: 0 additions & 2 deletions packages/dnb-eufemia/src/components/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ export default class Dropdown extends React.PureComponent {
disabled: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
stretch: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
skeleton: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
class: PropTypes.string,

className: PropTypes.string,
children: PropTypes.oneOfType([
Expand Down Expand Up @@ -218,7 +217,6 @@ export default class Dropdown extends React.PureComponent {
disabled: null,
stretch: null,
skeleton: null,
class: null,

className: null,
children: null,
Expand Down
2 changes: 0 additions & 2 deletions packages/dnb-eufemia/src/components/logo/Logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default class Logo extends React.PureComponent {
alt: PropTypes.string,
color: PropTypes.string,
inherit_color: PropTypes.bool,
class: PropTypes.string,

...spacingPropTypes,

Expand All @@ -48,7 +47,6 @@ export default class Logo extends React.PureComponent {
alt: 'DNB Logo',
color: null,
inherit_color: null,
class: null,
className: null,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default class NumberFormat extends React.PureComponent {

...spacingPropTypes,

class: PropTypes.string,
className: PropTypes.string,
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
}
Expand Down Expand Up @@ -137,7 +136,6 @@ export default class NumberFormat extends React.PureComponent {
element: 'span', // span or abbr
tooltip: null,
skeleton: null,
class: null,

className: null,
children: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ describe('Wizard.Container', () => {

const MyForm = () => {
return (
<Form.Handler defaultData={initialData} onChange={console.log}>
<Form.Handler defaultData={initialData}>
<Wizard.Container>
<Step1 />
<Step2 />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export default class PaymentCard extends React.PureComponent {

...spacingPropTypes,

class: PropTypes.string,
className: PropTypes.string,
children: PropTypes.oneOfType([
PropTypes.string,
Expand All @@ -103,7 +102,6 @@ export default class PaymentCard extends React.PureComponent {
raw_data: null,

skeleton: false,
class: null,
className: null,
children: null,

Expand Down
2 changes: 0 additions & 2 deletions packages/dnb-eufemia/src/fragments/drawer-list/DrawerList.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,14 +448,12 @@ DrawerList.Options.propTypes = {
cache_hash: PropTypes.string,
showFocusRing: PropTypes.bool,
className: PropTypes.string,
class: PropTypes.string,
triangleRef: PropTypes.object,
}
DrawerList.Options.defaultProps = {
cache_hash: null,
showFocusRing: false,
className: null,
class: null,
triangleRef: null,
}

Expand Down

0 comments on commit 98e238f

Please sign in to comment.