feat: support external className prop on Author component
Also restores beforeOutline passthrough in DocLayout.
This commit is contained in:
+2
-1
@@ -10,7 +10,8 @@ function DocLayout(props: DocLayoutProps) {
|
||||
{...props}
|
||||
beforeOutline={
|
||||
<>
|
||||
<Author />
|
||||
<Author className="ml-4 md:ml-0" />
|
||||
{props.beforeOutline}
|
||||
</>
|
||||
}
|
||||
afterDocContent={
|
||||
|
||||
Reference in New Issue
Block a user