@rneui/layout
Version:
Cross Platform React Native UI Toolkit
12 lines (11 loc) • 497 B
JavaScript
import { withTheme } from '@rneui/themed';
import { Box as BoxBase } from './Box';
import { Grid as GridBase, GridItemProps, GridProps } from './Grid';
import { GridItemBase } from './Grid/GridItem';
import { Stack as StackBase } from './Stack';
export { GridProps, GridItemProps };
export const Box = withTheme(BoxBase, 'Box');
export const Stack = withTheme(StackBase, 'Stack');
export const Grid = Object.assign(withTheme(GridBase, 'Grid'), {
Item: withTheme(GridItemBase, 'GridItem'),
});