Skip to content

Commit

Permalink
Set screen language to Dutch
Browse files Browse the repository at this point in the history
Support for more languages may follow – see https://amsterdam.nl/stijlweb/heldere-taal/engels-talen/.
  • Loading branch information
VincentSmedinga committed Nov 2, 2023
1 parent 2fcdf49 commit bd8ebbf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/react/src/Screen/Screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ export interface ScreenProps extends PropsWithChildren<HTMLAttributes<HTMLDivEle

export const Screen = forwardRef(
({ children, className, maxWidth = 'wide', ...restProps }: ScreenProps, ref: ForwardedRef<HTMLDivElement>) => (
<div {...restProps} ref={ref} className={clsx('amsterdam-screen', `amsterdam-screen--${maxWidth}`, className)}>
<div
{...restProps}
ref={ref}
className={clsx('amsterdam-screen', `amsterdam-screen--${maxWidth}`, className)}
lang="nl"
>
{children}
</div>
),
Expand Down

0 comments on commit bd8ebbf

Please sign in to comment.