mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
13 lines
243 B
JavaScript
13 lines
243 B
JavaScript
class FancyButton extends React.Component {
|
|
focus() {
|
|
// ...
|
|
}
|
|
|
|
// ...
|
|
}
|
|
|
|
// Rather than exporting FancyButton, we export LogProps.
|
|
// It will render a FancyButton though.
|
|
// highlight-next-line
|
|
export default logProps(FancyButton);
|