Sha256: 441b70ab7bb29538f9749b1844f9d2ba9deeff570fe4b8ca58ea1a6a973e617e
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
module React module Component class Styles def initialize(native) @native = native end def method_missing(prop, *args, &block) %x{ if (typeof #@native[prop] === 'undefined') { return #{nil}; } else { return #@native[prop]; } } end def to_n @native end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
isomorfeus-react-16.8.2 | lib/react/component/styles.rb |
isomorfeus-react-16.8.1 | lib/react/component/styles.rb |
isomorfeus-react-16.8.0 | lib/react/component/styles.rb |