@mui/icons-material#Chat TypeScript Examples

The following examples show how to use @mui/icons-material#Chat. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AppNavbar.tsx    From sapio-studio with Mozilla Public License 2.0 5 votes vote down vote up
function MainScreens() {
    const dispatch = useDispatch();
    return (
        <>
            <ListItem
                disableGutters
                button={true}
                key={'Wallet'}
                onClick={() => dispatch(switch_showing('Wallet'))}
            >
                <ListItemIcon></ListItemIcon>
                <ListItemText primary={'Wallet'} />
            </ListItem>
            <ListItem
                disableGutters
                button={true}
                key={'Contract Creator'}
                onClick={() => dispatch(switch_showing('ContractViewer'))}
            >
                <ListItemIcon></ListItemIcon>
                <ListItemText primary={'Contract Creator'} />
            </ListItem>
            <ListItem
                disableGutters
                button
                key={'Miniscript'}
                onClick={async () => {
                    dispatch(switch_showing('MiniscriptCompiler'));
                }}
            >
                <ListItemIcon></ListItemIcon>
                <ListItemText primary={'Miniscript Testing'} />
            </ListItem>

            <ListItem
                disableGutters
                button={true}
                key={'Chat'}
                onClick={() => dispatch(switch_showing('Chat'))}
            >
                <ListItemIcon>
                    <Chat></Chat>
                </ListItemIcon>
                <ListItemText primary={'Chat'} />
            </ListItem>
        </>
    );
}