import React from 'react' import GithubSlugger from 'github-slugger' import cx from 'classnames' import { LinkIconHeading } from 'components/article/LinkIconHeading' import { BreakingChangesT } from 'components/graphql/types' import styles from 'components/ui/MarkdownContent/MarkdownContent.module.scss' type Props = { schema: BreakingChangesT } const slugger = new GithubSlugger() export function BreakingChanges({ schema }: Props) { const changes = Object.keys(schema).map((date) => { const items = schema[date] const heading = `Changes scheduled for ${date}` const slug = slugger.slug(heading) return (
{item.location}.
Description:
Reason: