diff --git a/ts/features/design-system/core/DSButtons.tsx b/ts/features/design-system/core/DSButtons.tsx index c5ed0e27ad6..70a2d2b83f5 100644 --- a/ts/features/design-system/core/DSButtons.tsx +++ b/ts/features/design-system/core/DSButtons.tsx @@ -1,29 +1,29 @@ -import { View, StyleSheet, Alert } from "react-native"; -import * as React from "react"; -import { OrganizationFiscalCode } from "@pagopa/ts-commons/lib/strings"; import { + BlockButtons, ButtonLink, ButtonOutline, ButtonSolid, + HSpacer, + IOColors, IconButton, - IconButtonSolid, IconButtonContained, - IOColors, - HSpacer, + IconButtonSolid, + ListItemSwitch, VSpacer, useIOExperimentalDesign, - useIOTheme, - BlockButtons, - ListItemSwitch + useIOTheme } from "@pagopa/io-app-design-system"; +import { OrganizationFiscalCode } from "@pagopa/ts-commons/lib/strings"; +import * as React from "react"; import { useState } from "react"; -import { H2 } from "../../../components/core/typography/H2"; +import { Alert, StyleSheet, View } from "react-native"; +import { PaymentNoticeNumber } from "../../../../definitions/backend/PaymentNoticeNumber"; import CopyButtonComponent from "../../../components/CopyButtonComponent"; +import { H2 } from "../../../components/core/typography/H2"; +import { IOStyles } from "../../../components/core/variables/IOStyles"; import PaymentButton from "../../messages/components/MessageDetail/PaymentButton"; -import { PaymentNoticeNumber } from "../../../../definitions/backend/PaymentNoticeNumber"; import { DSComponentViewerBox } from "../components/DSComponentViewerBox"; import { DesignSystemScreen } from "../components/DesignSystemScreen"; -import { IOStyles } from "../../../components/core/variables/IOStyles"; const styles = StyleSheet.create({ primaryBlockLegacy: { @@ -78,7 +78,7 @@ export const DSButtons = () => { > ButtonLink - {renderButtonLink()} + {renderButtonLink(isExperimental)} @@ -628,7 +628,7 @@ const renderButtonOutline = (isExperimental: boolean) => ( ); -const renderButtonLink = () => ( +const renderButtonLink = (isExperimental: boolean) => ( <> ( /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + );