<script>
import { ref } from '../utils/vnode';

export default {
  name: 'Table',
  functional: true,
  render(h, context) {
    const props = context.props || {};
    if (props.editable) {
      return ref('z-table-editable', context);
    }
    return ref('z-table-normal', context);
  },
};
</script>
