"use strict";(self.webpackChunkangular_storybook_project=self.webpackChunkangular_storybook_project||[]).push([[9682],{"./src/common/shared/models-mdx/Tag.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 TagReader=()=>react.createElement("div",{className:"panel-content"},react.createElement(dist.oz,null,'# Tag\n\nDocumentazione dettagliata del custom model **Tag**, usato nei componenti di Internet Webkit v17. \n**Tag** viene utilizzato per costruire gli oggetti che poi si visualizzano come componenti <a href="?path=/story/components-elements-tags--tags">Tag</a>.\n\n## Implementazione\n<div class="table-responsive">`import { Tag } from \'@inail/internet-webkit/elements\';`</div>\n<br />\n\n***Struttura:***\n`\tconstructor(\n\t\tpublic value: string,\n\t\tpublic type: TagTypes = TagTypes.DEFAULT,\n\t\tpublic label?: string) {}`\n\n***Esempio d\'uso:***\n<br />\n<div class="table-responsive">`tag = new Tag(\'TAG_1\', TagTypes.INFO)`</div>\n\n## API\n<div class="table-responsive">\n  <table class="table">\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>value</code></td>\n      <td>\n        Campo di tipo string che assegna la label che si visualizza nel tag.\n      </td>\n    </tr>\n    <tr>\n      <td><code>type</code></td>\n      <td>\n        Campo di tipo <code>TagTypes</code> che imposta il tipo di tag. Questo campo ha anche un impatto visivo.\n        I valori dell\' enum sono i seguenti:\n        <ul>\n          <li>\n            DEFAULT\n          </li>\n          <li>\n            PRIMARY\n          </li>\n          <li>\n            SUCCESS\n          </li>\n          <li>\n            INFO\n          </li>\n          <li>\n            WARNING\n          </li>\n          <li>\n            DANGER\n          </li>\n        </ul>\n      </td>\n    </tr>\n  </tbody>\n</table>\n</div>\n\n## Casi d\'utilizzo\n<br />\n<a href="?path=/story/components-elements-tags--tags">Tags</a>\n<br />\n<a href="?path=/story/components-elements-sticky--sticky">Sticky</a>'));function _createMdxContent(props){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{title:"Resources/Models/Tag"}),"\n",(0,jsx_runtime.jsx)(TagReader,{})]})}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()}}}]);
//# sourceMappingURL=common-shared-models-mdx-Tag-mdx.66017e5a.iframe.bundle.js.map