botframework-webchat-component
Version:
React component of botframework-webchat
8 lines (6 loc) • 343 B
text/typescript
import type createStyleSet from '../Styles/createStyleSet';
import useWebChatUIContext from './internal/useWebChatUIContext';
// TODO: Seems type of value is `string`.
export default function useStyleSet(): readonly [Record<keyof ReturnType<typeof createStyleSet>, any>] {
return Object.freeze([useWebChatUIContext().styleSet] as const);
}