Module

PublicNews

Represents the PublicNews page for displaying public news.

View Source pages/PublicNews/PublicNews.jsx, line 6

Methods

# inner getSelectedView(view) → {JSX.Element}

Renders the selected view of news (grid or list).

Parameters:
Name Type Description
view boolean

The selected view (grid or list).

View Source pages/PublicNews/PublicNews.jsx, line 49

The rendered news view.

JSX.Element

# inner stripHTML(htmlString) → {string}

Removes HTML tags from an HTML string.

Parameters:
Name Type Description
htmlString string

The HTML string to strip HTML tags from.

View Source pages/PublicNews/PublicNews.jsx, line 39

The HTML string with tags stripped.

string