@itcenteratunihelsinki/huds-lib-react
v0.8.86
Published
HUDS React wrapper
Downloads
246
Keywords
Readme
HUDS react wrapper
This is a react package provided from npm.
Install package with yarn add @itcenteratunihelsinki/huds-lib-react
After installing with yarn install
you can easily use Huds components. See example below.
Example
import { HyQuote, HyHeading } from "@itcenteratunihelsinki/huds-lib-react";
export default function TestComponent() {
return (
<div>
<HyHeading>Test Component</HyHeading>
<HyQuote quote-signature="Lisa-John Down">
<p>
Lorem ipsum dolor sit <strong>amet</strong>, consectetur adipiscing
elit. Ut blandit neque nec dolor porttitor lacinia. Mauris porta mi
eget nibh rutrum gravida eu id nisl. Ut eget semper augue, sit amet
rutrum enim. Nullam finibus iaculis magna, nec vulputate tellus
accumsan non.
</p>
</HyQuote>
</div>
);
}