@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
2 lines (1 loc) • 694 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@mui/material/Box"),r=require("@mui/material/Typography");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(t),a=o(r);const n="NexusNotificationSectionHeader";exports.NotificationSectionHeader=t=>e.jsx(i.default,{role:"listitem",sx:e=>({py:2,position:"sticky",top:"0",backgroundColor:"common.white",zIndex:1,textAlign:"start",...e.applyStyles("dark",{backgroundColor:"background.paper"})}),className:`${n}-root`,"data-testid":`${n}-root`,children:e.jsx(a.default,{variant:"body2",fontWeight:"700",color:"text.primary",sx:{ml:4},children:t.title})});