slots in RAC buttons #4824
                  
                    
                      stefanprobst
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| The slots in spectrum are for layout purposes - the icon and text have styles that automatically get associated with via that slot. For  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
the
react-spectrum<Button>(and others, likeBadge) has dedicated slots for<Text>and<Icon>children -- is this a pattern you plan to carry over toreact-aria-componentsas well? i am asking because currently the RAC button does not seem to provide slots for child content. thanks!Beta Was this translation helpful? Give feedback.
All reactions