Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
uppercase
Browse files Browse the repository at this point in the history
CL-1013
  • Loading branch information
ImreBognarUltimaker committed Dec 5, 2018
1 parent 275bf32 commit b59eaf9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/aspect_ratio_container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface aspectRatioContainerProps {
/**
* returns a copy of the content with modified classes, wrapped in containers to manage it's size
*/
export const aspectRatioContainer: React.StatelessComponent<aspectRatioContainerProps> = ({ aspectRatio, className, id, children }) => {
export const AspectRatioContainer: React.StatelessComponent<aspectRatioContainerProps> = ({ aspectRatio, className, id, children }) => {

const containerClasses = classNames('aspect-ratio-container', className);
const bottomPadding = 1 / aspectRatio * 100 + '%';
Expand All @@ -37,10 +37,10 @@ export const aspectRatioContainer: React.StatelessComponent<aspectRatioContainer
);
};

aspectRatioContainer.defaultProps = {
AspectRatioContainer.defaultProps = {
aspectRatio: 16 / 9
};

aspectRatioContainer.displayName = "AspectRatioContainer";
AspectRatioContainer.displayName = "AspectRatioContainer";

export default aspectRatioContainer;
export default AspectRatioContainer;

0 comments on commit b59eaf9

Please sign in to comment.