Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import React from 'react';
import { PrivacyWrapper } from './styled';
import { PrivacySwitch } from './PrivacySwitch';
import { wording } from './fixture';
import { PrivacyContext } from './PrivacyContext';
export const renderPrivacySwitch = (privacyItemThing, index) => {
return (React.createElement(PrivacyContext.Provider, { value: privacyItemThing },
React.createElement(PrivacySwitch, { key: privacyItemThing.label })));
};
export const styledPrivacyWrapperView = (React.createElement(PrivacyWrapper, { key: "PrivacyWrap" }, wording.content.map(renderPrivacySwitch)));
//# sourceMappingURL=renderProps.js.map