// Copyright (c) 2024 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by Lesser General Public License
// that can be found in the LICENSE file.
usecrate::styles::CssClass;/// Set the text-align on the component.
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]pubenumTextAlign{#[default]
Center,
Left,
Right,}implCssClass forTextAlign{fncss_class(&self)->&'staticstr{matchself{Self::Center =>"",Self::Left =>"ZuDivider-textAlignLeft",Self::Right =>"ZuDivider-textAlignRight",}}}