1.0.3 • Published 11 months ago
@will01/title v1.0.3
@will01/title
A simple and reusable title component for React.
Installation
npm install @will01/title
Usage
import React from 'react';
import Title from '@will01/title';
const App = () => {
return (
<div>
<Title text="Hello World" />
</div>
);
};
export default App;
Props
Prop | Type | Description |
---|---|---|
text | string | The text to display as the title. |
Example
import React from 'react';
import Title from '@will01/title';
const App = () => {
return (
<div>
<Title text="Hello World" />
</div>
);
};
export default App;