Widget customizations - React Native

There are many different customization options available to achieve a look and feel that is truly unique and that matches the theme of your app.

Presets

All the presets are of type BlazeWidgetLayout properties are mutable and could be further modified as needed.

Stories

BlazeStoriesRowView

circleLayout

A BlazeWidgetLayout instance.

Returns a horizontally aligned layout consisting of circle widget items.
The returned layout can be further modified if needed.

example

<BlazeStoriesRowView widgetId="home-stories-circles" presetTheme={PresetThemeRowType.CIRCLE} />

rectangleLayout

A BlazeWidgetLayout instance.

Returns a horizontally aligned layout consisting of rectangle widget items.
The returned layout can be further modified if needed.

example

<BlazeStoriesRowView widgetId="home-stories-rectangles" presetTheme={PresetThemeRowType.RECTANGLE} />

BlazeStoriesWidgetGridView

twoColumnGridLayout

A BlazeWidgetLayout instance.

Retuns a vertically aligned grid layout consisting of two columns per row.
The returned layout can be further modified if needed.

example

<BlazeStoriesGridView widgetId="stories-grid-two-columns" presetTheme={PresetThemeGridType.TWO} />

threeColumnGridLayout

A BlazeWidgetLayout instance.

Retuns a vertically aligned grid layout consisting of three columns per row.
The returned layout can be further modified if needed.

example

<BlazeStoriesGridView widgetId="stories-grid-three-columns" presetTheme={PresetThemeGridType.THREE} />

Moments

BlazeMomentsWidgetRowView

rectangleLayout

A BlazeWidgetLayout instance.

Returns a horizontally aligned layout consisting of rectangle widget items.
The returned layout can be further modified if needed.

example

<BlazeMomentsRowView widgetId="home-moments-row" presetTheme={PresetThemeRowType.RECTANGLE} />

BlazeMomentsWidgetGridView

twoColumnGridLayout

A BlazeWidgetLayout instance.

Retuns a vertically aligned grid layout consisting of two columns per row.
The returned layout can be further modified if needed.

example

<BlazeMomentsGridView widgetId="moments-grid-two-columns" presetTheme={PresetThemeGridType.TWO} />

threeColumnGridLayout

A BlazeWidgetLayout instance.

Retuns a vertically aligned grid layout consisting of three columns per row.
The returned layout can be further modified if needed.

example

<BlazeMomentsGridView widgetId="moments-grid-three-columns" presetTheme={PresetThemeGridType.THREE} />

Did this page help you?