"use strict";(self.webpackChunkangular_storybook_project=self.webpackChunkangular_storybook_project||[]).push([[5559],{"./src/common/shared/models-mdx/RoleAlertModel.mdx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});var react=__webpack_require__("./node_modules/react/index.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const RoleAlertModelReader=()=>react.createElement("div",{className:"panel-content"},react.createElement(dist.oz,null,"# RoleAlertModel\n\nDocumentazione dettagliata del model **RoleAlertModel**, usato nei componenti di Intranet Webkit v17. \nL'interfaccia **RoleAlertModel** rappresenta un modello di dati per configurare un avviso (alert) associato a un ruolo o a una specifica funzione in un'applicazione.\n\n## Implementazione\n<div class=\"table-responsive\">`import { RoleAlertModel } from '@inail/intranet-webkit/accessibility'`</div>\n<br />\n\n\n***Struttura:***\n`interface RoleAlertModel {\n    message: string;\n    active?: boolean;\n    back?: string;\n}`\n\n***Esempio d'uso:***\n<br />\n`  roleAlert: RoleAlertModel = {\n  message: 'Role Alert',\n  active: true,\n  back: ''\n}`\n\n\n## API\n<div class=\"table-responsive\">\n  <table class=\"table table-documentation\">\n  <thead>\n    <tr>\n      <th><strong>Campo</strong></th>\n      <th><strong>Descrizione</strong></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><code>message</code></td>\n      <td>\n        Il messaggio principale dell'alert.\n      </td>\n    </tr>\n    <tr>\n      <td><code>active</code></td>\n      <td>\n       Indica se l'alert è attivo o meno.\n      </td>\n    </tr>\n    <tr>\n      <td><code>back</code></td>\n      <td>\n        Specifica un riferimento per tornare indietro, come un URL o un identificatore.\n      </td>\n    </tr>\n  </tbody>\n</table>\n</div>\n\n## Casi d'utilizzo\n<br />\n<a href=\"?path=/story/components-accessibility-role-alert--role-alert\">Radio</a>\n<br/>\n\n"));function _createMdxContent(props){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{title:"Resources/Models/RoleAlertModel"}),"\n",(0,jsx_runtime.jsx)(RoleAlertModelReader,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent()}}}]);