diff --git a/README.md b/README.md index 2c91c1f..0d34168 100644 --- a/README.md +++ b/README.md @@ -83,20 +83,20 @@ export default function App() { - **allowedPlacements** - array of allowed placements `-'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end'` - **offset** - distance in pixels from highlighted words. `10` - **zIndex** - zIndex of the popover `999999999` - -## Customization - - **withoutStyles** - if true, the menu will be only styled with props that help it to function. And we the following classnames can be targeted for styling: - - `.rhm-popover` - for the popover element - - `.rhm-menu` - for the menu element - - `.rhm-button` - for the button element - - `.rhm-arrow` - for the arrow element - - `.rhm-anchor` - for the anchor element - **classNames** - an object where classnames can be passed to the menu, popover, and arrow elements. - `menu` - for the menu element - `popover` - for the popover element - `arrow` - for the arrow element +## These classnames are also available for styling as well + +- `.rhm-popover` - for the popover element +- `.rhm-menu` - for the menu element +- `.rhm-button` - for the button element +- `.rhm-arrow` - for the arrow element +- `.rhm-anchor` - for the anchor element + ## Development ```bash