Skip to content

Commit

Permalink
add dashboard widget classname prop
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Feb 16, 2024
1 parent 9e33367 commit 47c82b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/ui/WidgetDashboardPresenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { AppContext } from '../contexts/AppContext'
type Props = {
config: ExtensionConfig
onUserActionRequest?: (tx: Transaction) => void
className?: string
}

export const WidgetDashboardPresenter = (props: Props) => {
Expand All @@ -16,7 +17,7 @@ export const WidgetDashboardPresenter = (props: Props) => {
if (applicable.length === 0) return null

return (
<section>
<section className={props.className}>
<ul>
{applicable.map((extension) =>
extension.WidgetRoots.Dashboard ? (
Expand Down

0 comments on commit 47c82b3

Please sign in to comment.