Build a Pixel Art drawing tool in React.
Requirements:
- Render a grid of pixels (e.g., 16x16 or 32x32).
- Allow users to select a color from a palette.
- Clicking on a pixel paints it with the selected color.
- Allow clearing the grid to start over.
- Focus on functionality over styling.