import React from "react" import RdsCompNotification from "./rds-comp-notification" import { NotificationLayout, NotificationStyle, NotificationType } from "./rds-comp-notification.types" import figma from "@figma/code-connect" /** * -- This file was auto-generated by Code Connect -- * `props` includes a mapping from Figma properties and variants to * suggested values. You should update this to match the props of your * code component, and update the `example` function to return the * code example you'd like to see in Figma */ figma.connect( RdsCompNotification, "https://www.figma.com/design/vziFLZAgMFi8wA5SlikLh5/Raaghu---Design-System?node-id=1426-11567", { props: { showDismiss: figma.boolean("â›”ī¸ Show Dismiss Icon"), showSecondaryButton: figma.boolean("đŸ”ļ Show Secondary Button"), showPrimaryButton: figma.boolean("🔷 Show Primary Button"), showButton: figma.boolean("đŸ•šī¸ Show Button"), layout: figma.enum("📱 Layout", { Vertical: NotificationLayout.Vertical, Horizontal: NotificationLayout.Horizontal, }), style: figma.enum("✨ Style", { Default: NotificationStyle.Default, Avatar: NotificationStyle.Avatar, Icon: NotificationStyle.Icon, Image: NotificationStyle.Image, }), type: figma.enum("âš ī¸ Type", { Error: NotificationType.Error, Info: NotificationType.Info, Success: NotificationType.Success, Warning: NotificationType.Warning, }), }, example: (props) => , }, )