chore: properly use primitive type over wrapper (#21178)
This commit is contained in:
parent
a031cec159
commit
03da0609ba
|
|
@ -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' }}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue