prakhar1989/react-tags

View on GitHub
src/components/ClearAllTags.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';

const ClearAllTags = (props: {
  classNames: {
    clearAll: string,
  },
  onClick: () => void,
}) => {
  return (
    <button className={props.classNames.clearAll} onClick={props.onClick}>
      Clear all
    </button>
  );
};

export default ClearAllTags;