@acrsolutions/chat-components
Version:
Un set di componenti per la creazione di un'applicazione di messaggistica
11 lines (10 loc) • 525 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import isPropValid from '@emotion/is-prop-valid';
import { StyleSheetManager } from 'styled-components';
/**
* Questa funzione è un wrapper per il componente StyleSheetManager di styled-components.
* Serve a tipizzare correttamente le props di styled components in concomitanza con Atomic Layout.
*/
export function AtomicLayoutFilteringProps({ children, }) {
return (_jsx(StyleSheetManager, { shouldForwardProp: (prop) => isPropValid(prop), children: children }));
}