Skip to content

dc.Link does not accept className #151

@FrBosquet

Description

@FrBosquet

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:

function RawLink({ link, sourcePath: maybeSourcePath }: { link: Link | string; sourcePath?: string }) {

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions