diff --git a/packages/token-input/src/TokenInput.tsx b/packages/token-input/src/TokenInput.tsx index 3dc05c8..dacddd7 100644 --- a/packages/token-input/src/TokenInput.tsx +++ b/packages/token-input/src/TokenInput.tsx @@ -21,6 +21,7 @@ import { interface Props { label?: string + limitLabel?: string value: string onChange: (newValue: string) => void token: keyof typeof tokens | TokenSpec @@ -95,7 +96,9 @@ export const TokenInput: React.FunctionComponent = (props: Props) => { {props.maxValue && ( - Limit: {maxValue} + + {props.limitLabel || 'Limit'}: {maxValue} + Set max )}