1/* 2 * Copyright (c) 2021-2023 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 */ 20/** 21 * Defines the Column Component. 22 * @form 23 * @since 9 24 */ 25interface ColumnInterface { 26 /** 27 * Set the value. 28 * useAlign:Use a custom alignment. 29 * space: Vertical layout element spacing. 30 * @since 7 31 */ 32 /** 33 * Set the value. 34 * useAlign:Use a custom alignment. 35 * space: Vertical layout element spacing. 36 * @form 37 * @since 9 38 */ 39 (value?: { space?: string | number }): ColumnAttribute; 40} 41 42/** 43 * Defines the Column component attribute functions. 44 * @since 7 45 */ 46/** 47 * Defines the Column component attribute functions. 48 * @form 49 * @since 9 50 */ 51declare class ColumnAttribute extends CommonMethod<ColumnAttribute> { 52 /** 53 * Sets the alignment format of the subassembly in the horizontal direction. 54 * @since 7 55 */ 56 /** 57 * Sets the alignment format of the subassembly in the horizontal direction. 58 * @form 59 * @since 9 60 */ 61 alignItems(value: HorizontalAlign): ColumnAttribute; 62 63 /** 64 * Sets the alignment format of the subassembly in the vertical direction. 65 * @since 8 66 */ 67 /** 68 * Sets the alignment format of the subassembly in the vertical direction. 69 * @form 70 * @since 9 71 */ 72 justifyContent(value: FlexAlign): ColumnAttribute; 73} 74 75/** 76 * Defines Column Component. 77 * @since 7 78 */ 79/** 80 * Defines Column Component. 81 * @form 82 * @since 9 83 */ 84declare const Column: ColumnInterface; 85 86/** 87 * Defines Column Component instance. 88 * @since 7 89 */ 90/** 91 * Defines Column Component instance. 92 * @form 93 * @since 9 94 */ 95declare const ColumnInstance: ColumnAttribute; 96