docs: fix formatting in custom components > edit view paragraph (#12697)
Fixes bad formatting on docs page: https://payloadcms.com/docs/custom-components/edit-view 
This commit is contained in:
@@ -340,12 +340,12 @@ export const EditMenuItems = (props: EditViewMenuItemClientProps) => {
|
||||
```
|
||||
|
||||
<Banner type="info">
|
||||
**Styling:** Use Payload's built-in <code>PopupList.Button</code> to
|
||||
ensure your menu items automatically match the default dropdown styles. If you
|
||||
want a different look, you can customize the appearance by passing your own{' '}
|
||||
<code>className</code> to <code>PopupList.Button</code>, or use a completely
|
||||
custom button built with a standard HTML <code><button></code> element
|
||||
or any other component that fits your design preferences.
|
||||
**Styling:** Use Payload's built-in `PopupList.Button` to ensure your menu
|
||||
items automatically match the default dropdown styles. If you want a different
|
||||
look, you can customize the appearance by passing your own `className` to
|
||||
`PopupList.Button`, or use a completely custom button built with a standard
|
||||
HTML `button` element or any other component that fits your design
|
||||
preferences.
|
||||
</Banner>
|
||||
|
||||
### SaveDraftButton
|
||||
|
||||
Reference in New Issue
Block a user