Documentation

border()

Sets the border properties of the element.

border(
borderWidth: BindingOrValue<StyleOverrides.Offsets | undefined>,
borderColor?: BindingOrValue<UIColor | UIColor.ColorName | undefined>,
borderStyle?: BindingOrValue<string | undefined>,
borderRadius?: BindingOrValue<StyleOverrides["borderRadius"] | undefined>,
): this;

Summary

Configures the border with optional width, color, style, and corner radius. If only width is provided, the color defaults to the divider color.

Parameters

Return value

The builder instance for chaining.

Related