github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/dashboard/frontend/src/components/widgets/GeneralText.tsx (about)

     1  import React, { FC } from 'react'
     2  import { styled } from '@mui/system'
     3  import Typography from '@mui/material/Typography'
     4  
     5  export const SmallText = styled('span')({
     6    fontSize: '0.8em',
     7  })
     8  
     9  export const TinyText = styled('span')({
    10    fontSize: '0.65em',
    11  })
    12  
    13  export const SmallLink = styled('div')({
    14    fontSize: '0.8em',
    15    color: 'blue',
    16    cursor: 'pointer',
    17    textDecoration: 'underline',
    18  })
    19  
    20  export const RequesterNode = styled('span')({
    21    fontWeight: 'bold',
    22    color: '#009900',
    23  })
    24  
    25  export const BoldSectionTitle: FC = ({
    26    children,
    27  }) => {
    28    return (
    29      <Typography variant="subtitle1" sx={{
    30        fontWeight: 'bold',
    31      }}>
    32        { children }
    33      </Typography>
    34    )
    35  }