Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nl-design-system/documentatie
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8fd2a224fcfb610b71df8a1f225e4c9adb5b4060
Choose a base ref
..
head repository: nl-design-system/documentatie
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5d7a17dd00140e5ab1796824f75fe8a4038b27cd
Choose a head ref
Showing with 5 additions and 2 deletions.
  1. +1 −2 src/components/ComponentAnatomy.tsx
  2. +4 −0 svgr.config.js
3 changes: 1 addition & 2 deletions src/components/ComponentAnatomy.tsx
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ import { AnatomyList, AnatomyListItem } from './AnatomyList';
interface IllustrationProps {
className?: string;
height?: boolean;
role?: string;
}

interface ComponentAnatomyProps {
@@ -33,7 +32,7 @@ export const ComponentAnatomy = ({
<Suspense fallback={null}>
<figure className={clsx('component-anatomy')}>
{AnatomyIllustration && (
<AnatomyIllustration role="img" height={null} className={clsx('component-anatomy__illustration')} />
<AnatomyIllustration height={null} className={clsx('component-anatomy__illustration')} />
)}
{AnatomyIllustration && AnatomyLegend && (
<figcaption>
4 changes: 4 additions & 0 deletions svgr.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// .svgrrc.js
module.exports = {
svgProps: { role: 'img' },
};