@gsretail.com/gui-core
Version:
A skeleton to create your own React component library using Rollup, TypeScript, Sass and Storybook
2 lines (1 loc) • 597 B
JavaScript
import{__rest as e,__assign as t}from"tslib";import*as r from"react";import{DialogTitle as o}from"@mui/material";import{GuiIcon as a}from"@gsretail.com/gui-icons";import{GuiIconButton as n}from"../Button/GuiIconButton.js";var l=function(l){var m=l.subject,i=l.tabsChildren,s=l.onCloseBtn,c=e(l,["subject","tabsChildren","onCloseBtn"]);return r.createElement(r.Fragment,null,s&&r.createElement(n,{className:"btnDialogClose",variant:"clear",color:"secondary",onClick:s},r.createElement(a,{name:"Close",width:"28px"})),r.createElement(o,t({},c),m&&m,i&&i))};export{l as GuiDialogTitle,l as default};