We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we use scratch block in react typescript application? can you please provide a code snippet of a react component that uses scratch-blocks?
The text was updated successfully, but these errors were encountered:
Here is a small snippet how to use scratch-blocks in react typescript:
import scratchblocks from 'scratchblocks'; import ScratchBlocks from 'scratchblocks-react'; const ScratchBlocksImage = props => ( <div> <ScratchBlocks blockStyle="scratch3" languages={['en']} > {scratchBlocksText} </ScratchBlocks> </div> ); ScratchBlocksImage.propTypes = { scratchBlocksText: PropTypes.string };
Sorry, something went wrong.
That's scratchblocks, not scratch-blocks.
No branches or pull requests
How can we use scratch block in react typescript application? can you please provide a code snippet of a react component that uses scratch-blocks?
The text was updated successfully, but these errors were encountered: