on 4b25329 help sign in
bridge/src/components/WarningBox.js
11 lines 313 B history raw
1import React from 'react';
2import cn from 'classnames';
3import { Flex, Text } from 'indigo-react';
5export default function WarningBox({ className, children }) {
6 return (
7 <Flex className={cn('bg-red1 pv3 ph4', className)} align="center">
8 <Text className="f5 red3">{children}</Text>
9 </Flex>
10 );