Skip to content

Commit

Permalink
updates to docs components (#1161)
Browse files Browse the repository at this point in the history
* updates to docs components

* remove paginator

* make slightly larger

* slightly larger

* Update src/theme/DocItem/Paginator/index.js

---------

Co-authored-by: Alexandra Tran Carrillo <[email protected]>
  • Loading branch information
joaniefromtheblock and alexandratran authored Feb 26, 2024
1 parent 6f79e86 commit bcd5c5e
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/theme/DocItem/Paginator/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';

export default function PaginatorWrapper(props) {
return null;
}
8 changes: 8 additions & 0 deletions src/theme/DocPaginator/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';

function DocPaginator(props) {
return null;
}

export default DocPaginator;

12 changes: 12 additions & 0 deletions src/theme/EditThisPage/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import EditThisPage from '@theme-original/EditThisPage';

export default function EditThisPageWrapper(props) {
const wrapperStyle = { fontSize: '0.85rem' };

return (
<div style={wrapperStyle}>
<EditThisPage {...props} />
</div>
);
}
12 changes: 12 additions & 0 deletions src/theme/TagsListInline/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import TagsListInline from '@theme-original/TagsListInline';

export default function TagsListInlineWrapper(props) {
const wrapperStyle = { fontSize: '0.85rem' };

return (
<div style={wrapperStyle}>
<TagsListInline {...props} />
</div>
);
}

0 comments on commit bcd5c5e

Please sign in to comment.