chore: add announcement and topic classNames (#34140)
parent
d569f26fa4
commit
c2cf2d773a
@ -1,6 +1,16 @@ |
||||
import { Box } from '@rocket.chat/fuselage'; |
||||
import { css } from '@rocket.chat/css-in-js'; |
||||
import { Box, Palette } from '@rocket.chat/fuselage'; |
||||
import { HTMLAttributes } from 'react'; |
||||
|
||||
export const RoomBannerContent = (props: Omit<HTMLAttributes<HTMLElement>, 'is'>) => ( |
||||
<Box color='hint' fontScale='p2' p={4} flexGrow={1} withTruncatedText {...props} /> |
||||
<Box |
||||
fontScale='p2' |
||||
p={4} |
||||
flexGrow={1} |
||||
withTruncatedText |
||||
className={css` |
||||
color: ${Palette.text['font-hint']}; |
||||
`}
|
||||
{...props} |
||||
/> |
||||
); |
||||
|
||||
Loading…
Reference in new issue