Represents the PublicNews page for displaying public news.
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). |
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. |
The HTML string with tags stripped.
string