Hook
useStyledClassName deprecated at v1.3.0.beta.1
Return
getStyledClassName
,styledComponentInstance => string
styledClassNameMap
,Record<string, string>
,{[componentName]: className}
Usage
vue
<script setup lang="ts">
import { styled, useStyledClassName } from '@vue-styled-components/core'
const StyledDiv = styled.div`
background: #ccc;
`
console.log(useStyledClassName(StyledDiv)) // styled-xxx(unique id)
</script>