@@ -93,7 +93,7 @@ pub fn extract_style_from_styled<'a>(
9393 styles : props_styles,
9494 tag : Some ( ast_builder. expression_string_literal (
9595 SPAN ,
96- ast_builder. atom ( & tag_name) ,
96+ ast_builder. str ( & tag_name) ,
9797 None ,
9898 ) ) ,
9999 style_order : None ,
@@ -200,7 +200,7 @@ fn create_styled_component<'a>(
200200 SPAN ,
201201 ast_builder. binding_pattern_binding_identifier(
202202 SPAN ,
203- ast_builder. atom ( "rest" ) ,
203+ ast_builder. str ( "rest" ) ,
204204 ) ,
205205 ) ,
206206 ) ,
@@ -226,20 +226,20 @@ fn create_styled_component<'a>(
226226 SPAN ,
227227 ast_builder. alloc_jsx_opening_element(
228228 SPAN ,
229- ast_builder. jsx_element_name_identifier( SPAN , ast_builder. atom ( tag_name) ) ,
229+ ast_builder. jsx_element_name_identifier( SPAN , ast_builder. str ( tag_name) ) ,
230230 None :: <oxc_allocator:: Box <oxc_ast:: ast:: TSTypeParameterInstantiation <' a>>>,
231231 oxc_allocator:: Vec :: from_iter_in(
232232 vec![
233233 ast_builder. jsx_attribute_item_spread_attribute(
234234 SPAN ,
235235 ast_builder
236- . expression_identifier( SPAN , ast_builder. atom ( "rest" ) ) ,
236+ . expression_identifier( SPAN , ast_builder. str ( "rest" ) ) ,
237237 ) ,
238238 ast_builder. jsx_attribute_item_attribute(
239239 SPAN ,
240240 ast_builder. jsx_attribute_name_identifier(
241241 SPAN ,
242- ast_builder. atom ( "className" ) ,
242+ ast_builder. str ( "className" ) ,
243243 ) ,
244244 Some (
245245 ast_builder. jsx_attribute_value_expression_container(
@@ -255,7 +255,7 @@ fn create_styled_component<'a>(
255255 ) ,
256256 ast_builder. expression_identifier(
257257 SPAN ,
258- ast_builder. atom ( "className" ) ,
258+ ast_builder. str ( "className" ) ,
259259 ) ,
260260 ] ,
261261 )
@@ -264,7 +264,7 @@ fn create_styled_component<'a>(
264264 . unwrap_or_else( || {
265265 ast_builder. expression_identifier(
266266 SPAN ,
267- ast_builder. atom ( "className" ) ,
267+ ast_builder. str ( "className" ) ,
268268 )
269269 } )
270270 . into( ) ,
@@ -275,7 +275,7 @@ fn create_styled_component<'a>(
275275 SPAN ,
276276 ast_builder. jsx_attribute_name_identifier(
277277 SPAN ,
278- ast_builder. atom ( "style" ) ,
278+ ast_builder. str ( "style" ) ,
279279 ) ,
280280 Some (
281281 ast_builder. jsx_attribute_value_expression_container(
@@ -291,7 +291,7 @@ fn create_styled_component<'a>(
291291 ) ,
292292 ast_builder. expression_identifier(
293293 SPAN ,
294- ast_builder. atom ( "style" ) ,
294+ ast_builder. str ( "style" ) ,
295295 ) ,
296296 ] ,
297297 )
@@ -300,7 +300,7 @@ fn create_styled_component<'a>(
300300 . unwrap_or_else( || {
301301 ast_builder. expression_identifier(
302302 SPAN ,
303- ast_builder. atom ( "style" ) ,
303+ ast_builder. str ( "style" ) ,
304304 )
305305 } )
306306 . into( ) ,
0 commit comments