Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
feat(components): ✨ use emojies in next-previous title
Browse files Browse the repository at this point in the history
  • Loading branch information
filipowm committed Jun 4, 2020
1 parent cdb5335 commit 4a6a5e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/nextPrevious/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import Link from "../link";
import styled from "@emotion/styled";
import emoji from 'node-emoji'

import { calculateFlatNavigation, getNavigationData } from '../navigation';

Expand Down Expand Up @@ -62,7 +63,7 @@ const ContentWrapper = styled(({className, label, title}) => {
<span>{label}</span>
</Label>
<Title>
<span>{title}</span>
<span>{emoji.emojify(title, (name) => name)}</span>
</Title>
</div>
)
Expand Down

0 comments on commit 4a6a5e1

Please sign in to comment.