Skip to content

Commit abea1f1

Browse files
authored
Merge pull request #9 from asyndesis/fix/readme
Fix readme
2 parents ff93dab + ae3cd00 commit abea1f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default function App() {
8989
- `popover` - for the popover element
9090
- `arrow` - for the arrow element
9191

92-
## These classnames are also available for styling as well
92+
## These classnames are also targetable for styling if you need more control over the styles
9393

9494
- `.rhm-popover` - for the popover element
9595
- `.rhm-menu` - for the menu element

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const TargetExample = () => {
152152
const fullMenu = useGetMenu("white");
153153

154154
return (
155-
<Box className="target-example">
155+
<Box className="target-example" ref={menuRef}>
156156
<HighlightMenu
157157
target={useTargetClass ? ".target-example" : menuRef}
158158
styles={MENU_STYLES["white"]}

0 commit comments

Comments
 (0)