Skip to content

Export the Token component #153

@jatinhariani

Description

@jatinhariani

In some cases, users might want to use the built-in Token component and maybe override it with a wrapper or something else.

example:

onBuildTokenValue={(props, meta) => {
      if (meta.error) {
        return <span>{props.tokenValue}</span>;
      }
      return <Token>{props.tokenValue}</Token>
    }}

This will allow the users to extend existing Token component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions