Using InlineCode
inside 'Truncate'
#3799
-
Hello, I'm trying to use <InlineCode>
<Box maxWidth="16rem">
<Truncate as="text" title={tableRef}>
{tableRef}
</Truncate>
</Box>
</InlineCode> But it looks like this isn't possible due to InlineCode expecting multiple children
I tried switching the nodes however that made it worse for styling purposes cutting off the end of the InlineCode. I had to replicate the styling to make it work for my usecase, however I wanted to see if this was the expected behavior. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
This was fixed with PR #4109 and will be available when #4096 is merged.