@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
25 lines (24 loc) • 752 B
JavaScript
import React, { memo } from 'react';
import ButtonOptionGroup from "../button/button-option-group.js";
import Cell from "../cell/index.js";
import { pickCellProps } from "./helper.js";
import { jsx as _jsx } from "react/jsx-runtime";
const FieldButtonOption = restProps => {
const {
cellProps,
otherProps
} = pickCellProps(restProps);
return /*#__PURE__*/_jsx(Cell, {
...cellProps,
center: !restProps.vertical,
value: /*#__PURE__*/_jsx(ButtonOptionGroup, {
...otherProps,
justify: restProps.vertical ? 'flex-start' : 'flex-end',
align: "center",
wrap: restProps.vertical
})
});
};
export default /*#__PURE__*/memo(FieldButtonOption);
//# sourceMappingURL=field-button-option.js.map
;