diff --git a/.github/COMPONENT.md b/.github/COMPONENT.md new file mode 100644 index 0000000..bbe9583 --- /dev/null +++ b/.github/COMPONENT.md @@ -0,0 +1,3 @@ +1. Button +2. Input +3. Chip diff --git a/README.md b/README.md index a3b5c65..ed902f5 100644 --- a/README.md +++ b/README.md @@ -68,16 +68,15 @@ $ bun add fe-theme ## Usage -#### 1. Passing configuration settings to the fe-theme library using ThemeProvider +#### 1. Use fe-theme in your application using themeProvider ```js -import React from 'react'; -import ReactDOM from 'react-dom'; -import { ThemeProvider } from 'styled-components'; -import Init from 'fe-theme/Init'; +import { ThemeProvider } from 'styled-components'; // import ThemeProvider component +import Init from 'fe-theme/Init'; // import Init function import App from './App'; ReactDOM.createRoot(document.getElementById('root')).render( + // Wrap your application with ThemeProvider @@ -91,29 +90,31 @@ import Button from 'fe-theme/Button';