import { Typography } from 'antd'; import React from 'react'; import { styled, theme } from 'flipper-plugin'; const { Text } = Typography; // Warning: Received `true` for a non-boolean attribute `active`. // ^ happens here const NonWrappingText = styled(Text)({ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', }); const BooleanValue = (props: { active?: boolean; value: string }) => { return ( <> {props.value} ); }; export default BooleanValue;