mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
Merge pull request #15284 from strapi/fix/documentation-link-guided-tour
[fix] Guided tour documentation link
This commit is contained in:
commit
f1ca1e4051
@ -8,6 +8,9 @@ import { useIntl } from 'react-intl';
|
||||
|
||||
const LiStyled = styled.li`
|
||||
list-style: disc;
|
||||
&::marker {
|
||||
color: ${({ theme }) => theme.colors.neutral800};
|
||||
}
|
||||
`;
|
||||
|
||||
const Content = ({ id, defaultMessage }) => {
|
||||
@ -19,13 +22,15 @@ const Content = ({ id, defaultMessage }) => {
|
||||
{ id, defaultMessage },
|
||||
{
|
||||
documentationLink: (children) => (
|
||||
<a
|
||||
<Typography
|
||||
as="a"
|
||||
textColor="primary600"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#api-parameters"
|
||||
>
|
||||
{children}
|
||||
</a>
|
||||
</Typography>
|
||||
),
|
||||
b: (children) => <Typography fontWeight="semiBold">{children}</Typography>,
|
||||
p: (children) => <Typography>{children}</Typography>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user