datacore
datacore copied to clipboard
dc.Link does not accept className
Hi! I'm making an experiment to inject Tailwindcss classes in datacore. I'm struggling with something: I default my linking to dc.Link which works flawlesly, but it does not allow to input a className to it. I saw the implementation here:
https://github.com/blacksmithgu/datacore/blob/234ab8933589fab42bad1a5a42cc09d688abd515/src/ui/markdown.tsx#L53
And I think it would be super easy to add this feature. Other raw components already allow this. It would need the util combineClasses to be available accross the repo tho.
So, Is there any concern about enabling this? I can implement it myself