Andrew Salib 9cb4f18458 addon-docs: small exotic components refactor
Consolidate forwardRef button components & fix MemoButton so its render fn has a displayName.
2020-10-07 16:40:51 +11:00

6 lines
118 B
JavaScript

import React from 'react';
import BaseButton from './BaseButton';
export const MemoButton = React.memo(BaseButton);