Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import './helloWorld.css';
- export const DEFAULT_CLASS = 'hello-world';
- export const TEST_CLASS = 'hello-world-test';
- const HelloWorld = ({additionalClass, children}) => (
- <p
- className={
- additionalClass
- ? additionalClass
- : "hello-world"
- }
- >
- Hello World {children}
- </p>
- );
- export default HelloWorld;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement