UNPKG

@wordpress/components

Version:
8 lines (7 loc) 687 B
{ "version": 3, "sources": ["../../../src/flex/flex-block/hook.ts"], "sourcesContent": ["/**\n * Internal dependencies\n */\n\nimport { useContextSystem } from '../../context';\nimport { useFlexItem } from '../flex-item';\nexport function useFlexBlock(props) {\n const otherProps = useContextSystem(props, 'FlexBlock');\n const flexItemProps = useFlexItem({\n isBlock: true,\n ...otherProps\n });\n return flexItemProps;\n}"], "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,qBAAiC;AACjC,uBAA4B;AACrB,SAAS,aAAa,OAAO;AAClC,QAAM,iBAAa,iCAAiB,OAAO,WAAW;AACtD,QAAM,oBAAgB,8BAAY;AAAA,IAChC,SAAS;AAAA,IACT,GAAG;AAAA,EACL,CAAC;AACD,SAAO;AACT;", "names": [] }