Skip to content

Render children in renderComponent #8

@rogerfar

Description

@rogerfar

I don't believe there is a good way to pass children to renderComponent, for example:

		{
			header: 'Name',
			sortBy: 'name',
			initialSort: 'asc',
			accessorKey: 'name',
			cell: ({ row }) => renderComponent(Button, { href: `/customers/${row.original.customerId}`, variant: 'link' })
		},

The Button component requires a child snippet for the caption of the button.

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