From 875ba56953e521dc8f0c8f434895a9d6043bb557 Mon Sep 17 00:00:00 2001 From: Andrei Dobrinski Date: Thu, 7 Apr 2022 21:27:09 -0400 Subject: [PATCH] Update direction prop in documentation Updates the 'direction' prop in documentation to accept either 'right' or 'left' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07762a5..b1c910d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Here are the props you can pass to the `GithubCorner` instance: |:-------------:|:----:|:-------------:|-------------| | href | String | '/' | The link to your project page | | size | Number or String | 80 | The width and height of the banner | -| direction | String | 'right' | Whether the banner shows up on the right or left | +| direction | 'right' or 'left' | 'right' | Whether the banner shows up on the right or left | | octoColor | String | '#fff' | The CSS color of the Octocat | | bannerColor | String | '#151513' | The CSS color of the banner | | ariaLabel | String | 'Open GitHub project' | The aria-label for a11y support |