2025-04-08 - Frontend Styles: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


===createComponent===
===createComponent===
[[Category:Working documents| 2025-04-07]]
[[Category:Working documents - Frontend Styles| 2025-04-07]]

Revision as of 08:48, 7 April 2025

styled-components concept

Style Tag Name

  • use "Izara" + html tag + "Style"
  • html tag = same tag with styled.tag
const IzaraInputStyle = styled.input

Style Tag Syntax

export const IzaraTextSpanStyle = styled.span`
  ${(props) => createComponent(props)}
`;


function

createComponent