src/components/ClearAllTags.tsx
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;