File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cookiecutter/{{ cookiecutter.package_name }}
{{ cookiecutter.import_name }} Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ def test_should_render_template(page: Page):
3131
3232 frame .get_by_role ("button" , name = "Click me!" ).click ()
3333
34- page .get_by_text ("You've clicked 1 times!" )
34+ page .get_by_text ("You've clicked 1 times!" )
Original file line number Diff line number Diff line change 1+ import streamlit as st
2+ from {{ cookiecutter .import_name }} import {{ cookiecutter .import_name }}
3+
14# Add some test code to play with the component while it's in development.
25# During development, we can run this just as we would any other Streamlit
36# app: `$ streamlit run {{ cookiecutter.import_name }}/example.py`
47
5- import streamlit as st
6- from {{ cookiecutter .import_name }} import {{ cookiecutter .import_name }}
7-
88st .subheader ("Component with constant args" )
99
1010# Create an instance of our component with a constant `name` arg, and
You can’t perform that action at this time.
0 commit comments