|
Download wp-calypso/client/components/back-button/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/back-button/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/back-button/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/back-button/README.md
489 Bytes
Back Button
Simple back button, usually used in a HeaderCake to go back to the previous screen.
Usage
import BackButton from 'calypso/components/back-button';
function render() {
return <BackButton onClick={ myClickHandler } />;
}
Props
| Name | Type | Default | Description |
|---|---|---|---|
onClick* |
function |
null | Called when the button is clicked |