@canner/antd-array-tab_right
Version:
array tab right
18 lines (15 loc) • 452 B
JavaScript
// @flow
import React, { Component } from "react";
import Tab from "@canner/antd-array-tabs";
import type {ArrayDefaultProps} from 'types/ArrayDefaultProps';
type Props = ArrayDefaultProps<{[string]: any}> & {
uiParams: {[string]: any}
};
export default class TabRight extends Component<Props> {
render() {
const { uiParams } = this.props;
return (
<Tab {...this.props} uiParams={{ ...uiParams, position: "right" }} />
);
}
}