Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-toast/lib/components/ToastTitle/renderToastTitle.js

15 lines
564 B
JavaScript

import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@fluentui/react-jsx-runtime/jsx-runtime";
import { assertSlots } from '@fluentui/react-utilities';
/**
* Render the final JSX of ToastTitle
*/ export const renderToastTitle_unstable = (state)=>{
assertSlots(state);
return /*#__PURE__*/ _jsxs(_Fragment, {
children: [
state.media ? /*#__PURE__*/ _jsx(state.media, {}) : null,
/*#__PURE__*/ _jsx(state.root, {}),
state.action ? /*#__PURE__*/ _jsx(state.action, {}) : null
]
});
};