Skip to content

Commit

Permalink
fix(Section): rename AllSectionProps to SectionAllProps
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Oct 14, 2022
1 parent 7ed9550 commit 2297cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dnb-eufemia/src/components/section/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ export type SectionProps = {
children?: React.ReactNode
}

export type AllSectionProps = SectionProps &
export type SectionAllProps = SectionProps &
SpacingProps &
React.HTMLProps<HTMLElement>

const defaultProps = {
element: 'section',
}

export default function Section(localProps: AllSectionProps) {
export default function Section(localProps: SectionAllProps) {
const context = React.useContext(Context)

// use only the props from context, who are available here anyway
Expand Down

0 comments on commit 2297cb5

Please sign in to comment.