Package Exports
- @fluentui/react-utilities
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fluentui/react-utilities) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@fluentui/react-utilities
React Utilities for Fluent UI React components
API
childrenExist(children)
Tests if children are nil in React and Preact. React children
can be one many types. See the tests for all the covered cases.
Example:
if (childrenExist(props.children)) {
// render children.
}