Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 356x 1x | import { ReactElement, ReactNode } from "react";
import styled from "styled-components";
interface Props {
children?: ReactNode;
className?: string;
}
export const ButtonGroup = ({ children, className }: Props): ReactElement => {
return <Container className={className}>{children}</Container>;
};
const Container = styled.div`
margin: 8px 0 8px 0;
display: flex;
gap: 8px;
flex-wrap: wrap;
`;
|