oklas/react-breadcrumbs-dynamic

Compound final item

nWidart opened this issue · 2 comments

Hello,

Is it possible to have a compound item, as final item?

Example:

finalItem={'span > strong'}

Thanks

oklas commented

Yes, if I understand correctly, you can create a special component and provide it to finalItem or create anonimous component inplace like this:

    finalItem={
      ({children}) => (
       <span><strong>{children}</strong></span>
      )
    }

Such questions better for stackoverflow, users frequently search answers there, and also it have feature: inviting to question. However this is good place too and any feedback and stars is very significant to know that my creations is on demand. Thereto followers can receive notifications about new features.

Now I close the issue. Feel free to write or reopen or create new if any.

Thank you for the reply.

I don't agree with stackoverflow but sure.