Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lib
react-ag-qeditor
Commits
f0704801
Commit
f0704801
authored
May 10, 2022
by
Рамис
Browse files
init create-react-library@3.1.1
parents
Changes
23
Show whitespace changes
Inline
Side-by-side
src/index.js
0 → 100644
View file @
f0704801
import
React
from
'
react
'
import
styles
from
'
./styles.module.css
'
export
const
ExampleComponent
=
({
text
})
=>
{
return
<
div
className
=
{
styles
.
test
}
>
Example
Component
:
{
text
}
<
/div
>
}
src/index.test.js
0 → 100644
View file @
f0704801
import
{
ExampleComponent
}
from
'
.
'
describe
(
'
ExampleComponent
'
,
()
=>
{
it
(
'
is truthy
'
,
()
=>
{
expect
(
ExampleComponent
).
toBeTruthy
()
})
})
src/styles.module.css
0 → 100644
View file @
f0704801
/* add css module styles here (optional) */
.test
{
margin
:
2em
;
padding
:
0.5em
;
border
:
2px
solid
#000
;
font-size
:
2em
;
text-align
:
center
;
}
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment