import * as React from 'react'; import { DetailsRow, IDetailsRowBaseProps } from '@fluentui/react'; import OpenRow from './OpenRow'; interface ExpandableDetailsProps { detailsProps: IDetailsRowBaseProps; isExpand: boolean; } class ExpandableDetails extends React.Component { render(): React.ReactNode { const { detailsProps, isExpand } = this.props; return (
{isExpand && }
); } } export default ExpandableDetails;