1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * Defines the Column Component. 18 * @since 7 19 */ 20interface ColumnInterface { 21 /** 22 * Set the value. 23 * useAlign:Use a custom alignment. 24 * space: Vertical layout element spacing. 25 * @since 7 26 */ 27 (value?: { space?: string | number }): ColumnAttribute; 28} 29 30/** 31 * Defines the Column component attribute functions. 32 * @since 7 33 */ 34declare class ColumnAttribute extends CommonMethod<ColumnAttribute> { 35 /** 36 * Sets the alignment format of the subassembly in the horizontal direction. 37 * @since 7 38 */ 39 alignItems(value: HorizontalAlign): ColumnAttribute; 40 41 /** 42 * Sets the alignment format of the subassembly in the vertical direction. 43 * @since 8 44 */ 45 justifyContent(value: FlexAlign): ColumnAttribute; 46} 47 48declare const Column: ColumnInterface; 49declare const ColumnInstance: ColumnAttribute; 50