UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

8 lines (7 loc) 305 B
export var getExternalProps = function (props) { var externalPropNames = Object.keys(props).filter(function (propName) { return propName.indexOf('__') !== 0; }); return externalPropNames.reduce(function (acc, propName) { acc[propName] = props[propName]; return acc; }, {}); };