Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: properly use primitive type over wrapper (#21178)

Mateusz Burzyński03da0609bae0
diff --git a/packages/web/src/components/expandable.tsx b/packages/web/src/components/expandable.tsx
index ff897f3bce..7169510bad 100644
--- a/packages/web/src/components/expandable.tsx
+++ b/packages/web/src/components/expandable.tsx
@@ -19,7 +19,7 @@ import * as React from 'react';
export const Expandable: React.FunctionComponent<React.PropsWithChildren<{
title: JSX.Element | string,
setExpanded: Function,
- expanded: Boolean,
+ expanded: boolean,
style?: React.CSSProperties,
}>> = ({ title, children, setExpanded, expanded, style }) => {
return <div style={{ ...style, display: 'flex', flexDirection: 'column' }}>