UNPKG

@gsretail.com/gui-core

Version:

A skeleton to create your own React component library using Rollup, TypeScript, Sass and Storybook

2 lines (1 loc) 662 B
import{__rest as e,__assign as t}from"../../node_modules/tslib/tslib.es6.js";import*as o from"react";import{DialogTitle as r}from"@mui/material";import{GuiIcon as n}from"../../node_modules/@gsretail.com/gui-icons/dist/index.js";import{GuiIconButton as a}from"../Button/GuiIconButton.js";var l=function(l){var s=l.subject,i=l.tabsChildren,m=l.onCloseBtn,c=e(l,["subject","tabsChildren","onCloseBtn"]);return o.createElement(o.Fragment,null,m&&o.createElement(a,{className:"btnDialogClose",variant:"clear",color:"secondary",onClick:m},o.createElement(n,{name:"Close",width:"28px"})),o.createElement(r,t({},c),s&&s,i&&i))};export{l as GuiDialogTitle,l as default};