Skip to content

Commit 3a5023c

Browse files
committed
add-button for generic data source in data-source-panel
1 parent e614755 commit 3a5023c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/components/data-source-panel.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ export default class DataSourcePanel extends React.Component<DataSourcePanelProp
155155

156156
})
157157
}
158+
<div onClick={() => this.setState({ isAdding: true})} className="flex hover:text-[#9875d4] py-2 pl-5 pr-3 m-2 flex-row items-center justify-center bg-[#36323b] hover:border-[#9875d4] rounded-lg font-poppins leading-[28px] border-[#777777] border-b-[.5px] transition duration-300 ease-in-out">
159+
<h1 className="text-gray-500">Add</h1>
160+
<IoAddCircleOutline className="ml-4 text-white text-2xl hover:text-[#9875d4] hover:cursor-pointer transition duration-200 ease-in-out"></IoAddCircleOutline>
161+
</div>
158162
</div>
159163
</div>)
160164
}

0 commit comments

Comments
 (0)