move move frontend to progress-test
This commit is contained in:
19
app/javascript/components/InputGroup/InputGroup.tsx
Normal file
19
app/javascript/components/InputGroup/InputGroup.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React, { FC } from "react";
|
||||
import styled from "styled-components";
|
||||
|
||||
const StyledInputGroup = styled.div`
|
||||
&:first-of-type {
|
||||
margin-top: 0
|
||||
}
|
||||
&:last-of-type {
|
||||
margin-bottom: 0
|
||||
}
|
||||
`;
|
||||
|
||||
type Props = {
|
||||
children?: any
|
||||
}
|
||||
|
||||
export const InputGroup: FC<Props> = ({ children }) => (
|
||||
<StyledInputGroup className="mt-4 mb-2">{children}</StyledInputGroup>
|
||||
);
|
||||
1
app/javascript/components/InputGroup/index.ts
Normal file
1
app/javascript/components/InputGroup/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { InputGroup } from "./InputGroup";
|
||||
Reference in New Issue
Block a user