start token pool selector

This commit is contained in:
fmtabbara
2022-03-01 20:51:25 +00:00
parent 3fb9737db4
commit 3628cd92c9
@@ -0,0 +1,18 @@
import { ListItem, ListItemText, Select } from '@mui/material'
import React, { useState } from 'react'
type TPool = 'balance' | 'locked'
export const TokenPoolSelector: React.FC<{ onSelect: (pool: TPool) => void }> = ({ onSelect }) => {
const [value, setValue] = useState<TPool>()
return (
<>
<Select label="Token Pool" value={value}>
<ListItem>
<ListItemText primary="Balance" secondary="123 nymt" />
</ListItem>
</Select>
</>
)
}