{"version":3,"sources":["../src/components/MessageBar/MessageBarTitle/useMessageBarTitle.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { useMessageBarTitle_unstable } from '@fluentui/react-message-bar';\n\nimport type { MessageBarTitleProps, MessageBarTitleState } from './MessageBarTitle.types';\n\n/**\n * Returns the state for a MessageBarTitle component, given its props and ref.\n * The returned state can be modified with hooks before being passed to `renderMessageBarTitle`.\n */\nexport const useMessageBarTitle = (props: MessageBarTitleProps, ref: React.Ref<HTMLElement>): MessageBarTitleState => {\n  'use no memo'; // justified: compiler would optimize useMessageBarTitle — manual opt-out to preserve runtime behavior\n\n  return useMessageBarTitle_unstable(props, ref);\n};\n"],"names":["useMessageBarTitle","props","ref","useMessageBarTitle_unstable"],"mappings":"AAAA;;;;;+BAWaA;;;eAAAA;;;iCAR+B;AAQrC,MAAMA,qBAAqB,CAACC,OAA6BC;IAC9D,eAAe,sGAAsG;IAErH,OAAOC,IAAAA,4CAA2B,EAACF,OAAOC;AAC5C"}