mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 12:07:58 +02:00
chore: better examples
This commit is contained in:
parent
d3e12c9455
commit
be3d259ac8
18 changed files with 619 additions and 174 deletions
10
website/components/Tictactoe/square.js
Normal file
10
website/components/Tictactoe/square.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import React from 'react';
|
||||
import styles from './styles.css';
|
||||
|
||||
export default props => {
|
||||
return (
|
||||
<button className={styles.square} onClick={props.onClick}>
|
||||
{props.value}
|
||||
</button>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue