155058f92SEvan Baconimport React, { forwardRef } from 'react';
255058f92SEvan Baconimport { StyleSheet } from 'react-native';
355058f92SEvan Baconimport { em } from '../css/units';
492f6de58SWill Schurmanimport { TableText } from '../primitives/Table';
592f6de58SWill Schurmanimport Text from '../primitives/Text';
692f6de58SWill Schurmanimport View from '../primitives/View';
755058f92SEvan Baconexport const Table = forwardRef((props, ref) => {
8*896103abSandy    return React.createElement(View, { ...props, ref: ref });
955058f92SEvan Bacon});
1055058f92SEvan Baconexport const THead = forwardRef((props, ref) => {
11*896103abSandy    return React.createElement(View, { ...props, ref: ref });
1255058f92SEvan Bacon});
1355058f92SEvan Baconexport const TBody = forwardRef((props, ref) => {
14*896103abSandy    return React.createElement(View, { ...props, ref: ref });
1555058f92SEvan Bacon});
1655058f92SEvan Baconexport const TFoot = forwardRef((props, ref) => {
17*896103abSandy    return React.createElement(View, { ...props, ref: ref });
1855058f92SEvan Bacon});
1955058f92SEvan Baconexport const TH = forwardRef((props, ref) => {
20*896103abSandy    return React.createElement(TableText, { ...props, style: [styles.th, props.style], ref: ref });
2155058f92SEvan Bacon});
2255058f92SEvan Baconexport const TR = forwardRef((props, ref) => {
23*896103abSandy    return React.createElement(View, { ...props, style: [styles.tr, props.style], ref: ref });
2455058f92SEvan Bacon});
2555058f92SEvan Baconexport const TD = forwardRef((props, ref) => {
26*896103abSandy    return React.createElement(TableText, { ...props, style: [styles.td, props.style], ref: ref });
2755058f92SEvan Bacon});
2855058f92SEvan Baconexport const Caption = forwardRef((props, ref) => {
29*896103abSandy    return React.createElement(Text, { ...props, style: [styles.caption, props.style], ref: ref });
3055058f92SEvan Bacon});
3155058f92SEvan Baconconst styles = StyleSheet.create({
3255058f92SEvan Bacon    caption: {
3355058f92SEvan Bacon        textAlign: 'center',
3455058f92SEvan Bacon        fontSize: em(1),
3555058f92SEvan Bacon    },
3655058f92SEvan Bacon    th: {
3755058f92SEvan Bacon        textAlign: 'center',
3855058f92SEvan Bacon        fontWeight: 'bold',
3955058f92SEvan Bacon        flex: 1,
4055058f92SEvan Bacon        fontSize: em(1),
4155058f92SEvan Bacon    },
4255058f92SEvan Bacon    tr: {
4355058f92SEvan Bacon        flexDirection: 'row',
4455058f92SEvan Bacon    },
4555058f92SEvan Bacon    td: {
4655058f92SEvan Bacon        flex: 1,
4755058f92SEvan Bacon        fontSize: em(1),
4855058f92SEvan Bacon    },
4955058f92SEvan Bacon});
5055058f92SEvan Bacon//# sourceMappingURL=Table.js.map