-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DocPage): Add updatedAt meta #198
Conversation
} | ||
|
||
const UpdatedAtDate: React.FC<UpdatedAtDateProps> = (props) => { | ||
const {updatedAt, translationName = 'updated-at-date'} = props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем давать возможность переопределять этот ключ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему то тоже самое мы позволяем делать в Contributors
https://github.com/diplodoc-platform/components/blob/master/src/components/Contributors/Contributors.tsx
Уберу
@@ -0,0 +1,10 @@ | |||
@import '../../styles/mixins'; | |||
|
|||
.updated-at-date { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.updated-at-date { | |
.dc-updated-at-date { |
bde8e24
to
241360e
Compare
Add support updateAt field from meta