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 * The components are laid out horizontally 18 * @since 7 19 */ 20/** 21 * The components are laid out horizontally 22 * @form 23 * @since 9 24 */ 25interface RowInterface { 26 /** 27 * Called when the layout is set in the horizontal direction. 28 * @since 7 29 */ 30 /** 31 * Called when the layout is set in the horizontal direction. 32 * @form 33 * @since 9 34 */ 35 (value?: { space?: string | number }): RowAttribute; 36} 37 38/** 39 * Defines the row attribute functions. 40 * @since 7 41 */ 42/** 43 * Defines the row attribute functions. 44 * @form 45 * @since 9 46 */ 47declare class RowAttribute extends CommonMethod<RowAttribute> { 48 /** 49 * Called when the vertical alignment is set. 50 * @since 7 51 */ 52 /** 53 * Called when the vertical alignment is set. 54 * @form 55 * @since 9 56 */ 57 alignItems(value: VerticalAlign): RowAttribute; 58 59 /** 60 * Called when the horizontal alignment is set. 61 * @since 8 62 */ 63 /** 64 * Called when the horizontal alignment is set. 65 * @form 66 * @since 9 67 */ 68 justifyContent(value: FlexAlign): RowAttribute; 69} 70 71/** 72 * Defines Row Component. 73 * @since 7 74 */ 75/** 76 * Defines Row Component. 77 * @form 78 * @since 9 79 */ 80declare const Row: RowInterface; 81 82/** 83 * Defines Row Component instance. 84 * @since 7 85 */ 86/** 87 * Defines Row Component instance. 88 * @form 89 * @since 9 90 */ 91declare const RowInstance: RowAttribute; 92