Type
import { Props } from "atomico";
function component(){
return <host/>
}
component.props = {
value: String as Type<"A"|"B"|"C">
}import { Props } from "atomico";
function component(){
return <host/>
}
component.props = {
value: {
type: String,
value: ():"A"|"B"|"C"=>"A"
}
}Last updated
Was this helpful?
