chore: SW-3145 Moved tempdesign button to design-system * chore: SW-3145 Moved tempdesign button to design-system Approved-by: Anton Gunnarsson
26 lines
720 B
TypeScript
26 lines
720 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
|
import { OldDSButton as Button } from "@scandic-hotels/design-system/OldDSButton"
|
|
|
|
import { useAddAncillaryStore } from "@/stores/my-stay/add-ancillary-flow"
|
|
|
|
export default function ViewAllAncillaries() {
|
|
const intl = useIntl()
|
|
const openModal = useAddAncillaryStore((state) => state.openModal)
|
|
return (
|
|
<Button
|
|
theme="base"
|
|
variant="icon"
|
|
intent="text"
|
|
size="small"
|
|
onClick={openModal}
|
|
>
|
|
{intl.formatMessage({
|
|
defaultMessage: "See all",
|
|
})}
|
|
<MaterialIcon icon="chevron_right" size={20} color="CurrentColor" />
|
|
</Button>
|
|
)
|
|
}
|