refactor: move divider to design system
remove not used variants and duplicate colors
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { Divider } from "@scandic-hotels/design-system/Divider"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
|
||||
import { getGroupedOpeningHours } from "../utils"
|
||||
|
||||
import styles from "../openingHours.module.css"
|
||||
@@ -35,7 +34,7 @@ export default function AlternateOpeningHours({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Divider color="Border/Divider/Default" />
|
||||
<Divider />
|
||||
<Typography variant="Body/Paragraph/mdBold">
|
||||
<h5 className={styles.heading}>
|
||||
{intl.formatMessage(
|
||||
|
||||
Reference in New Issue
Block a user