Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create recognition component #170

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a075aa3
added core value component
onkar-josh May 29, 2020
d464d21
added core value component
onkar-josh May 29, 2020
0dd6b98
created file for core values component
onkar-josh May 29, 2020
e6bd67c
added card component as core component
onkar-josh May 29, 2020
0d6aac5
exported card
onkar-josh May 29, 2020
9e13f8f
created card body
onkar-josh May 29, 2020
2903096
created card body component for create recognition
onkar-josh Jun 1, 2020
04b1c21
updated core values by updation in core value
onkar-josh Jun 1, 2020
8414ca9
updated styling of core value component
onkar-josh Jun 1, 2020
856667c
created recognitio card component
onkar-josh Jun 1, 2020
bc3fd30
created create recognition card header component
onkar-josh Jun 1, 2020
2f5df4b
created a panel to show user profile and create recognition button
onkar-josh Jun 1, 2020
e54c061
updated changes in card body
onkar-josh Jun 2, 2020
a251fae
updated core value component for styling
onkar-josh Jun 2, 2020
61ace43
updated create recognition by handling state
onkar-josh Jun 2, 2020
618ded7
updated create recognition card body
onkar-josh Jun 4, 2020
bdeb221
created core value text component
onkar-josh Jun 4, 2020
e2dc0be
updated create recognition by removing old structure
onkar-josh Jun 4, 2020
e9d61eb
updated core values
onkar-josh Jun 4, 2020
60bf3ac
updated core value component
onkar-josh Jun 4, 2020
73123b0
deleted left panel
onkar-josh Jun 4, 2020
3e6c72c
updated card body of create recognition by adding modal button inside it
onkar-josh Jun 4, 2020
f0ad077
created a component to show popup of comment
onkar-josh Jun 4, 2020
12b7d6e
added props
onkar-josh Jun 5, 2020
df9423e
added props for create recognition image component and comments
onkar-josh Jun 5, 2020
105ae5c
added a modal in core components
onkar-josh Jun 5, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added core value component
  • Loading branch information
onkar-josh committed May 29, 2020
commit a075aa366ef26f3020816d698f24123973c52381
33 changes: 33 additions & 0 deletions react-frontend/src/shared-components/core-value/coreValue.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React from "react";
import PropTypes from "prop-types";
import Styled from "styled-components";

import { Form } from "core-components/form/FormComponent";

const Wrapper = Styled.div`
max-width:75px;
min-height:75px;
border-radius: 5px;
border: 3px solid black;
display: flex;
text-align: center;
font-size: 0.75em;
`;

const CoreValueComponent = ({
coreValueName,
}) => (
<Wrapper>
<Form.Label>
{coreValueName}
</Form.Label>
</Wrapper>
);

CoreValueComponent.propTypes = {
coreValueName: PropTypes.string.isRequired,
};

export default CoreValueComponent;

/**<Icon className={IconClassName} /> */