Skip to content

Commit

Permalink
chore: add global skeleton to breadcrumb context
Browse files Browse the repository at this point in the history
  • Loading branch information
dinarosv committed Mar 14, 2022
1 parent 63668ea commit b78d9a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/dnb-eufemia/src/components/breadcrumb/Breadcrumb.tsx
Expand Up @@ -111,7 +111,7 @@ export interface BreadcrumbProps {
}

export const defaultProps = {
skeleton: null,
skeleton: false,
navText: 'Back',
goBackText: 'Back',
homeText: 'Home',
Expand Down Expand Up @@ -147,7 +147,8 @@ const Breadcrumb = (localProps: BreadcrumbProps & ISpacingProps) => {
localProps,
defaultProps,
context?.translation?.Breadcrumb,
context?.Breadcrumb
context?.Breadcrumb,
{ skeleton: context?.skeleton }
)
const skeletonClasses = createSkeletonClass('font', skeleton, context)
const spacingClasses = createSpacingClasses(props)
Expand Down

0 comments on commit b78d9a3

Please sign in to comment.