Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Conversation

@Mesoptier
Copy link

This PR allows users to specify their own tags.

Example:

return interpolateComponents({
    mixedString: '<<link>>text<</link>>',
    components: {
        link: <a href="#" />,
    },
    tags: {
        componentOpen: ['<<', '>>'],
        componentClose: ['<</', '>>'],
        componentSelfClosing: ['<<', '/>>'],
    },
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant