168675f3eSEvan Baconimport React, { forwardRef } from 'react'; 268675f3eSEvan Baconimport { Platform } from 'react-native'; 368675f3eSEvan Baconimport View from '../primitives/View'; 468675f3eSEvan Baconfunction createView(nativeProps = {}) { 568675f3eSEvan Bacon return forwardRef((props, ref) => { 6896103abSandy return React.createElement(View, { ...nativeProps, ...props, ref: ref }); 768675f3eSEvan Bacon }); 868675f3eSEvan Bacon} 9*f4a8f663SEvan Baconexport const Div = createView(); 1068675f3eSEvan Baconexport const Nav = createView(Platform.select({ 1168675f3eSEvan Bacon web: { 1268675f3eSEvan Bacon accessibilityRole: 'navigation', 1368675f3eSEvan Bacon }, 1468675f3eSEvan Bacon})); 1568675f3eSEvan Baconexport const Footer = createView(Platform.select({ 1668675f3eSEvan Bacon web: { 1768675f3eSEvan Bacon accessibilityRole: 'contentinfo', 1868675f3eSEvan Bacon }, 1968675f3eSEvan Bacon})); 2068675f3eSEvan Baconexport const Aside = createView(Platform.select({ 2168675f3eSEvan Bacon web: { 2268675f3eSEvan Bacon accessibilityRole: 'complementary', 2368675f3eSEvan Bacon }, 2468675f3eSEvan Bacon})); 2568675f3eSEvan Baconexport const Header = createView(Platform.select({ 2668675f3eSEvan Bacon web: { 2768675f3eSEvan Bacon accessibilityRole: 'banner', 2868675f3eSEvan Bacon }, 2968675f3eSEvan Bacon default: { 3068675f3eSEvan Bacon accessibilityRole: 'header', 3168675f3eSEvan Bacon }, 3268675f3eSEvan Bacon})); 3368675f3eSEvan Baconexport const Main = createView(Platform.select({ 3468675f3eSEvan Bacon web: { 3568675f3eSEvan Bacon accessibilityRole: 'main', 3668675f3eSEvan Bacon }, 3768675f3eSEvan Bacon})); 3868675f3eSEvan Baconexport const Article = createView(Platform.select({ 3968675f3eSEvan Bacon web: { 4068675f3eSEvan Bacon accessibilityRole: 'article', 4168675f3eSEvan Bacon }, 4268675f3eSEvan Bacon})); 4368675f3eSEvan Baconexport const Section = createView({ 44896103abSandy accessibilityRole: 'summary', // region? 4568675f3eSEvan Bacon}); 4655058f92SEvan Bacon//# sourceMappingURL=Layout.js.map